Showing posts with label dynamic index. Show all posts
Showing posts with label dynamic index. Show all posts

Tuesday, November 10, 2009

Sphinx Dynamic index

Once your Sphinx search engine is connected to your datasource, when the datasource is updated, the search engine also need to be searchable for the updated data.

Thus, the engine should be dynamically reindexed with the following command at the terminal (or DOS command prompt)

indexer -c %your_rails_project%/config/sphinx.conf --rotate --all

or

indexer --config %your_rails_project%/config/sphinx.conf --rotate --all