关于coreseek介绍
http://www.coreseek.cn/products-install/install_on_bsd_linux/
mmseg 安装(中文分词)
# wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz
cd mmseg-3.2.14
#./bootstrap
#./configure --prefix=/usr/local/mmseg3
# make
# make install
sphinx 安装
#cd coreseek-4.1/csft-4.1
#./buildconf.sh
#./configure --prefix=/opt/sphinx \
--with-mmseg \
--with-mmseg-includes=/opt/mmseg/include/mmseg \
--with-mmseg-libs=/opt/mmseg/lib/ \
--with-mysql=/opt/mysql
#make
#make install
启动
#/opt/sphinx/bin/indexer --config /opt/sphinx/etc/sphinx.conf --all #创建索引
#/opt/sphinx/bin/searchd --config /opt/sphinx/etc/sphinx.conf #启动索引服务
#/opt/sphinx/bin/indexer --config /opt/sphinx/etc/sphinx.conf --rotate --all #重建增量索引
crontab五分钟重建增量索引
#crontab -e
*/5 * * * */opt/sphinx/bin/indexer --config /opt/sphinx/etc/sphinx.conf --rotate --allsphinx存储引擎 for mysql支持
将sphinx程序目录的mysqlse复制到mysql程序目录storage
# cp coreseek-3.2.14/csft-4.1/mysqlse /root/soft/mysql-5.1.61/storage/shpinx
# cd /root/soft/mysql-5.1.61
# sh BUILD/autorun.sh
# ./configure \
--prefix=/opt/mysql \
--enable-assembler \
--with-charset=utf8 \
--with-extra-charsets=complex \
--with-plugins=partition,innobase,myisam,sphinx \
--enable-thread-safe-client \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static
# make# make install
查看mysql sphinx存储引擎
mysql> show engines;
Engine | Support | Comment
SPHINX | YES | Sphinx storage engine
配置/opt/sphinx/etc/sphinx.conf
详细查看 http://www.coreseek.cn/docs/coreseek_4.1-sphinx_2.0.1-beta.html
coreseek(sphinx中文版)安装配置
原创
©著作权归作者所有:来自51CTO博客作者smart818的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:linux sed 用法
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Sphinx中文分词Coreseek+Mmseg安装配置和示例
Coreseek+Mmseg 实现中文分词的安装配置的记录
Sphinx Coreseek Mmseg sphinx sql -
CoreSeek快速安装 sphinx
CoreSeek快速安装 sphinx
CoreSeek快速安装 sphinx -
sphinx中文检索安装配置篇
sphinx中文检索初体验
sphinx 中文检索 -
sphinx -coreseek 安装教程
之前装这个sphinx的环境,装了好久都没有装好,挺麻烦的,现在把教程整理一下
安装 教程 sphinx-coreseek