首页 > 开发 > linux > 正文

centos:sphinx 配置文件位置

2015-09-17 16:44:56  来源: 网友分享

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 detail