Skip to content

Instantly share code, notes, and snippets.

@favrik
Created September 7, 2012 02:00
Show Gist options
  • Save favrik/3662540 to your computer and use it in GitHub Desktop.
Save favrik/3662540 to your computer and use it in GitHub Desktop.
Run the indexer on your local for Sphinxsearch
#!/bin/sh
cd /home/username/sphinx/
searchd --config sphinx.conf --stop
sleep 3;
indexer --config sphinx.conf users
indexer --config sphinx.conf users_by_username
indexer --config sphinx.conf echess_users
indexer --config sphinx.conf echess_users_by_username
indexer --config sphinx.conf echess_users_chess960
indexer --config sphinx.conf echess_users_chess960_by_username
indexer --config sphinx.conf forum_topics
sleep 5;
searchd --config sphinx.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment