Questions tagged [thinking-sphinx]

Thinking Sphinx is a Ruby library that connects ActiveRecord models to the Sphinx search service.

Thinking Sphinx is a Ruby library that connects ActiveRecord models to the Sphinx search service.

Sphinx is a very fast search engine that indexes data and provides flexible ways of searching it. Thinking Sphinx allows you to link up your models into Sphinx simply and painlessly, and provides an interpretation of search results into ActiveRecord model instances.

875 questions
-1
votes
1 answer

comparison Operators in thinking Sphinix

I have a model with attributes start_date and end_date. I have search form where user will put the date and I should get a data from the model if date is in between start_date and end_date. how should I create a query with thinking sphinx.
-1
votes
1 answer

Good search term in Sphinx

Using Rails 3.2, Sphinx Search and Thinking Sphinx gem. I have tried wrapping % and *, and wildcard, in the keywords in my controller, but can't achieve what I want: Keywords to search: world trade worldtrade worl trade trade world trad…
Victor
  • 13,010
  • 18
  • 83
  • 146
-1
votes
2 answers

complex search with thinking sphinx

I'd like to do a complex search with thinking sphinx: Search for users which: -> live in a city (city_id attribute) -> or has hability to move to a city (mobile_cities association) -> or live at a maximum distance from a lat/long point, the maximum…
alex
  • 357
  • 3
  • 14
-2
votes
1 answer

NoMethodError, undefined method

Hello I can not understand what the cause of the error when searching the Sphinx. Controller: class SearchesController < ApplicationController def show @results = Search.get_results(params[:query], params[:context]) end end Model: class…
rostov-7
  • 25
  • 1
  • 4
-2
votes
1 answer

thinking sphinx postgres ruby on rails rake ts:start

I want to run thinking sphinx on my application. When I run rake ts:start appears this error sphinx 2.0.7 thinking sphinx 2.0.10 rails 3.2.11 ruby 1.9.2p290 psql (9.1.9) /rails_projects/my_app$ rake ts:start RAILS_ENV=development --trace ** Invoke…
Sivard
  • 35
  • 1
  • 7
1 2 3
58
59