I followed the steps in https://github.com/outoftime/sunspot/wiki/Adding-Sunspot-search-to-Rails-in-5-minutes-or-less to install & set up Sunspot search in Rails in a Mac OS and it is ok.
If I have a query facet (and therefore know the row\'s value), is it possible to retrieve a specific row from the facet based on the known value?
I am using Sunspot to generate alot of my apps indexes and overviews. In this app i have 2 models which have a parent/child one-to-many relationship. With Sunspot I index the number of childs a paren
I have setup faceted search using Sunspot, SOLR. Like this: for row in @search.facet(:facet_id).rows link_to row.instance.name, :url_for(:search => params[:q], :facet_id => row.value)
Inside StreamPage i have defined this code for searching searchable do text :html, :stored => true, :boost => 2
Solr (via Lucene) supports different ways to indicate the way a field is indexed in a document: indexed, tokenized, stored,...
We are using sunspot for search in our latest project. We also use devise and are开发者_如何学运维 indexing our user model as follows:
Hi can sunspot be used with jruby, also here is my app details jruby-1.6.1 rails 3.0.7 when i install all the gems and run rake sunspot:solr:start it gives me the following error
I\'m using sunspot. How can I run a LIKE query (LIKE %q%)? I would like to do something like this: @search = Sunspot.search(User) do |q|
Okay, so I have a separate server with solr and this connects perfectly fine with the app. Using the usual sunspot.yml we 开发者_运维技巧have something like: