码迷,mamicode.com
首页 > 其他好文 > 详细

centos下 rpm包sphinx安装的目录

时间:2016-03-04 07:06:21      阅读:285      评论:0      收藏:0      [点我收藏+]

标签:

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安装的目录

标签:

原文地址:http://www.cnblogs.com/jasonxu19900827/p/5240720.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!