Solving the Riddle of Search: Using Sphinx with Rails

Pat Allan (Freelancing Gods)
Location: Pavilion 9 - 10
Average rating: ***..
(3.36, 22 ratings)

Working from the ground up, Pat Allan will give you a solid understanding of how searching with Sphinx works, covering the following topics:

  • Sphinx Concepts:
    • Fields and Attributes
  • Installating Sphinx
  • Adding Thinking Sphinx to a Rails application
  • Adding indexes to your models
  • Indexing your data
  • Searching your data:
    • Matching modes
    • Ordering
    • Pagination
  • Delta indexes
  • Fine-tuning settings
  • Advanced usage:
    • Delayed delta indexing
    • Geo-location searching
    • Facets
Photo of Pat Allan

Pat Allan

Freelancing Gods

Pat is a freelancing web developer usually located in Melbourne, Australia. When not caught up in code, he can be found helping organise Rails Camps. His thoughts are blogged semi-regularly at, and he’s been known to make a mean pancake.

Comments on this page are now closed.


Mark Yoon
05/04/2009 4:11pm PDT

It would have been helpful to have slides up ahead of time.

Examples were too fast to follow on the computer, so my installation prep wasn’t really useful.

Otherwise, enjoyed it.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Heroku
  • Sun Microsystems
  • Blue Box Group
  • New Relic

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine at

Download the RailsConf Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to

Press and Media

For media-related inquiries, contact Maureen Jennings at

Contact Us

View a complete list of RailsConf 2009 contacts.