Thinking Sphinx


A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration and searching.


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 -– because let’s face it, searching across multiple fields using SQL is a pain in the neck.


Read up on installing Sphinx and then Thinking Sphinx.


Pat Allan is the developer behind Thinking Sphinx, and the underlying API for Sphinx, Riddle. Many, many others have contributed valued patches and ideas.

Most importantly: How?

Read the quickstart guide, along with the rest of the documentation.

And when you get stuck, there’s always the google group.