I have a model Author with a has_many relationship to model Book. Books are indexed by sunspot, and have an indexed field :author_name which pulls the name of the Author associated with it.
I read an article comparing the performance of sunspot and thinking sphinx ( http://开发者_StackOverflowwww.vijedi.net/2010/ruby-full-text-search-performance-thinking-sphinx-vs-sunspot-solr/
I\'m trying to order search results using an equation that uses Products and User has inputs. In other words, I have an equation that uses data from both Products and current_user. I want to be able t
In sunspot you can hint relevancy using开发者_开发百科 the :boost option: text :name, :boost => 2.0
I am currently using Solr 1.4 (soon to upgrade to 3.3). The friendship table is pretty standard: id | follower_id | user_id
I want to highlight found words in text, for example, as shown here. As far as I know I must follow these steps:
I\'d like to set up my indexing so that phonetic-matched results are given less weight than regular matches.
I\'m currently try to get my sunspot / solr to work. In Dev its all fine and good. But when it comes to production, I\'ll get the following error.
I have a mini blog app and i would like user to view articles that relates to what they are reading in the article show page. without the sunspot_rails gem i would do something like this
I\'m having some problem searching by group when using Sunspot. Here is an example: # == Schema Information