标签:
sphinx: /etc/sphinx /usr/share/sphinx
Sphinx installed!
Now create a full-text index, start the search daemon, and you‘re all set.
To manage indexes:
editor /etc/sphinx/sphinx.conf
To rebuild all disk indexes:
sudo -u sphinx indexer --all --rotate
To start/stop search daemon:
service searchd start/stop
To query search daemon using MySQL client:
mysql -h 0 -P 9306
mysql> SELECT * FROM test1 WHERE MATCH(‘test‘);
See the manual at /usr/share/doc/sphinx-2.2.10 for details.
标签:
原文地址:http://www.cnblogs.com/jasonxu19900827/p/5240720.html