Resetting the Sphinx search daemon to change the index it runs against is a multi step process.
1. Of course you need to either edit the existing .conf file or create a fresh one that contains the new data source and index information.
2. The search daemon process should be killed.
3. The new index should be created:
./indexer --config /path/to/conf/sphinx.conf --all
4. Restart the search daemon
./searchd -c /directory/to/config/file/sphinx.conf
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment