Skip to content
jhilden edited this page Sep 13, 2010 · 6 revisions

For the search engine for fulltext search we are using sphinx

To connect sphinx with the Rails app we are using the thinking-sphinx gem

Cronjob

A cronjob is needed to make sure that sphinx is running and DreamHost ist not shutting it down. It’s also making sure that the index gets rebuild once a day.

The cronjob is set-up with DreamHost’s Web Panel and runs the following command once a day:

cd /home/tpoints/app.talking-points.org/current/ && rake thinking_sphinx:rebuild RAILS_ENV=production

Deployment

http://www.updrift.com/article/thinkingsphinx-capistrano-tasks

Clone this wiki locally