#120 Thinking Sphinx (revised)
Sphinx is a full-text search engine for use with MySQL or PostgreSQL. Learn how to add Thinking Sphinx by defining an index on your model and searching with various options.
- Download:
- source code
- mp4
- m4v
- webm
- ogv
Great Episode!!! and first comment
Yeah such a great episode!
Thanks again Ryan, not sure what the rails community would do without you. Great Episode
I was just thinking....
What about elasticsearch and tire....
we use it, but not sure if the query is in right form and we would really appreciate your point of view :P
just my brainstorming, thanx for the great episode :P
Hi thanks for the screencast. I would also add a few things to the discussion.
The sphinx field_weights option sounds really nice in theory but will always return poor results. Google can be more explicit than my self, but it basically always returns the records with the most occurrences.
I'm also pretty sure that with a delta index (
set_property :delta => true
) the index is being updated on the fly. A standard reindex is still required however as such records have certain quirks (eg. can't be sorted properly).ts-delayed-delta (https://github.com/freelancing-god/ts-delayed-delta) can also be set up to update indexes on the fly with DelayedJob.
hmm that's one curious logo
Thanks this was very helpful
I plan to watch this video when I am at the point of coding my Rails project. However I am curious if someone who has watched the video can tell me which version of Rails & Thinking Sphinx are being used for this video. I am learning Rails 3.2.3. I currently have gem Thinking-Sphinx 2.0.10 in my Gemfile.
thanks a lot for your awesome railscasts!
you're a superhero :)
greets from austria
great video, thanks!
One question though, how to display a standard message for "no results found"?
Can you make a video tutorial for the new setup of Thinking sphinx.
Hey it will be great to make a new video for thinking sphinx, a lot of things changed so your video is no longer relevant.
Great video as ever - one of the changes in current TS is the indices are no longer stored in the models. http://pat.github.io/thinking-sphinx/quickstart.html
This episode has been updated to Rails 5 as a blog post Thinking Sphinx in Rails 5