sunspot
Automatically indexing child model in sunspot (with fields requiring the parent to be saved)
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.[详细]
2023-04-02 08:08 分类:问答Performance difference between sunspot and thinking sphinx
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/[详细]
2023-03-31 15:56 分类:问答Possible to order search results using current_user
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[详细]
2023-03-31 08:15 分类:问答Boost in sunspot (solr)
In sunspot you can hint relevancy using开发者_开发百科 the :boost option: text :name, :boost => 2.0[详细]
2023-03-31 01:13 分类:问答Order Solr results by degrees of friendship
I am currently using Solr 1.4 (soon to upgrade to 3.3). The friendship table is pretty standard: id | follower_id | user_id[详细]
2023-03-30 09:34 分类:问答How highlight found word with Sunspot?
I want to highlight found words in text, for example, as shown here. As far as I know I must follow these steps:[详细]
2023-03-30 06:09 分类:问答Indexing different fields with different fieldtype in Sunspot (Solr)
I\'d like to set up my indexing so that phonetic-matched results are given less weight than regular matches.[详细]
2023-03-30 01:37 分类:问答sunspot and solr
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.[详细]
2023-03-29 00:15 分类:问答How to use sunspot_rails gem to search for related articles
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[详细]
2023-03-28 08:47 分类:问答Group using Sunspot/Solr?
I\'m having some problem searching by group when using Sunspot. Here is an example: # == Schema Information[详细]
2023-03-28 01:30 分类:问答