I want to sort by expression, then by some attribute ascending, then by another attribute ascending. Something like this: :order => \"(a < some constant) desc, b asc, c asc\". How to get it?
I\'m building an application where I have products and categories. Category has_many properties and each property has a list of possible values. After a category is set to the product all properties s
I have a \"restaurants\" table with a \"name\" column. I\'ve defined the following index: indexes \"REPLACE(UPPER(restaurants.name), \'THE \', \'\')\", :as => :restaurant_name, :sortable => tru
Does someone know if there is a way to get the raw relevance or similarity score between a q开发者_StackOverflow社区uery and a result when using sphinx in general or thinking-sphinx as a wrapper? Any
I have 2 models User and Discussion. I have defined the indices for the models as below: For the User model:
How can I use sphinx to search french words which the entries in the db is actually english? The situation is:
According to the Thinking Sphinx docs... Turning on delta indexing does not remove the need for regularly running
I can use the following to group results, but it only returns one result per group. @results = Model.search params[:search_query],
I\'m struggling to get Sphinx back up and running after deploying a rails app to my VPS. Specifically, I\'m thrown this error:
In my sphinx config file, I have the following: ignore_chars: \"U+0027\" charset_table: \"0..9, a..z, _, A..Z->a..z, U+00C0->a, U+00C1->a,