centos下 rpm包sphinx安装的目录
Posted JasonXu徐晓峰
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos下 rpm包sphinx安装的目录相关的知识,希望对你有一定的参考价值。
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.
以上是关于centos下 rpm包sphinx安装的目录的主要内容,如果未能解决你的问题,请参考以下文章
sphinx-2.2.10-1.rhel6.x86_64 rpm包安装的位置