Setting up Sphinx in a Ruby on Rails application

Thinking Sphinx — http://pat.github.io/thinking-sphinx/

Installing Sphinx (http://pat.github.io/thinking-sphinx/installing_sphinx.html) Installing on MacOS X (http://pat.github.io/thinking-sphinx/installing_sphinx/mac.html) Using Homebrew: brew install sphinx

Add ‘thinking-sphinx’ to Gemfile (https://github.com/pat/thinking-sphinx)
gem ‘thinking-sphinx’, ‘~> 3.1.1'

bundle install

Quick Start Quide — http://pat.github.io/thinking-sphinx/quickstart.html

rake ts:index ==> index data
rake ts:start ==> Run Sphinx
rake ts:rebuild ==> rebuild indexes

Show your support

Clapping shows how much you appreciated dv’s story.