1Suggestions sample
2-------------------
3
40) What's this.  This sample shows how to implement simple keyword
5correction suggestions (ie. "did you mean") using Sphinx.
6
71) Requirements.  You will need Sphinx, MySQL, and PHP CLI.
8
92) Quickstart.  (Skip first indexer command to use bundled sample.)
10
11indexer YOURINDEX --config YOURCONFIG.CONF --buildstops dict.txt 100000 --buildfreqs
12cat dict.txt | php suggest.php --builddict > dict.sql
13mysql -u root test < dict.sql
14indexer --config suggest.conf --all
15searchd --config suggest.conf
16php suggest.php --query sphynx
17
18--eof--
19