使用ubuntu/debian系统32位的可以在这里下载我编译好的coreseek5/csft包
对于>2.2.10的版本,我在这篇博客里提供了完整的补丁,可以应用在sphinx的源码上编译。
编译mmseg
| 
					 1 2 3 4 5 6  | 
						git clone  https://github.com/nzinfo/mmseg cd mmseg automake --add-missing ./bootstrap ./configure --prefix=/usr/local/mmseg make && make install  | 
					
编译coreseek5
| 
					 1 2 3 4 5 6 7  | 
						apt-get install Cython git clone https://github.com/nzinfo/csft cd csft git checkout r/csft5 sh buildconf.sh automake --add-missing ./configure --prefix=/usr/local/coreseek --with-mysql  --with-mmseg-includes=/usr/local/mmseg/include/mmseg --with-mmseg-libs=/usr/local/mmseg/lib    | 
					
自动脚本有一些bug :
- 手动运行一次autoconf和automake
 - ./configure xxxx之后,修改src/Makefile在LIBS加上-L/usr/local/mmseg3/lib -lmmseg
 am__object_1 增加 tokenizer_zhcn.$(OBJEXT)SRC_SPHINX增加tokenizer_zhcn.cppgcc 5.不知道多少版本以后会脑残,sphinx.cpp里有个地方要加上this->,忘记具体变量了,没关系gcc会告诉你在哪的
如果用4.1的话不能用最新版的sphinxclient,可以去sphinx_php_api的trunk里找define ( “VER_COMMAND_SEARCH”, 0x117 );的版本(0x117 ->1.23)
最后贴一个图来表达对xunsearch的…………

又慢(搜索比sphinx慢5~10倍,索引体积比原始数据大7倍,比sphinx大21倍),结果又少(mysql模糊搜索≈coreseek搜索≈740+,这货只有114,$search->count获得的精确值是286条)
另外ini文件名和里面填的project_name不一致会神作
告诉我是我打开方式不对