FATAL: no readable config file (lookedin/usr/local/sphinxforchinese/etc/sphinx.conf, ./sphinx.conf). 没有配置文件,解决方法: cp/usr/local/sphinxforchinese/etc/sphinx-min.conf.dist /usr/local/sphinxforchinese/etc/sphinx.conf 4:再次启动 /usr/local/sphinxforchinese/bin/searchd 报错: [root@iZ...
1.将文件夹中的 xdict_1.1.txt (点击下载)文件丢到 /usr/local/sphinxforchinese目录下 2.执行如下命令 cd /usr/local/sphinxforchinese /usr/local/sphinxforchinese/bin/mkdict xdict_1.1.txt etc/xdict 五、新建索引 1、将 sphinx.conf 丢到 /usr/local/sphinxforchinese/etc 中并且配置数据库连接信息 2...
/usr/local/sphinxforchinese/bin/mkdict xdict_1.1.txt etc/xdict 配置成功显示: [root@iZuf60ynur81p6k0ysvtneZ sphinxforchinese]# /usr/local/sphinxforchinese/bin/mkdict xdict_1.1.txt etc/xdictPreparing...Making Chinese dictionary: 100% |***|Total words: 284757File size: 2854912 bytesCompressio...
【编译打包】sphinx-for-chinese-2.2.1-r4311.el6.src.rpm sphinx 由于中文分词效果不佳,于是就有国内牛人给它改装了,sphinx-for-chinese(简称sfc)就是其中一个。 sphinx-for-chinese采用的分词方法是预设字典,将文本字典转换成二进制后载入内存,作为分词依据,如果分词效果不好,可以根据需要调整词典,性能据称达到...
一.安装及配置Sphinx及准备测试数据 1.安装前的准备工作 (1)请确认安装了MySQL,Gcc及常用的开发环境包 (2)下载sphinx-for-chinese-1.10.1(sphinx-for-chinese官方下载)及中文分词词典xdict_1.1 cd /usr/local/src wget -c http://sphinx-for-chinese.googlecode.com/files/sphinx-for-chinese-1.10.1-dev...
中文全文检索Coreseek, Sphinx-for-Chinese, SCWS的使用对比,最近在做网站的全文检索,因为网站前端使用的是PHP,Java的效率不高,资源消耗和维护成本都比较大,所以排除掉了Lucence.最开始考虑的是Sphinx.有一个中文的Sphinx项目叫Coreseek,最开始是用这个来做测试的.按网站上
Sphinx for Chinese 网上的sphinx中文版(http://code.google.com/p/sphinx-for-chinese/)比较旧,所以根据需要改写 sphinx 2.2.9版本, 根据sphinx for chinese改写到sphinx2.2.9版本 sphinx-for-chinese安装解压 $ git clone https://github.com/eric1688/sphinx $ cd sphinx 编译(假设安装到/usr/local/sphinx目...
https://github.com/chenenkou/sphinx-for-chinese 解压: bzip2 -d sphinx-for-chinese-2.1.0-dev-r3361.tar.bz2 tar xf sphinx-for-chinese-2.1.0-dev-r3361.tar cd sphinx-for-chinese-2.1.0-dev-r3361 安装Sphinx: --prefix 指定安装路径
最后还是使用了sphinx-for-chinese,原因主要还是性能.重建索引的速度非常快,大概在四五分钟内,用xunsearch的话大概要四五倍的时间.今天刚刚上线,对于缺少复合分词带来的影响,还需要等待一段时间观察用户的反馈.在编写调用Sphinx的php脚本中,遇到的主要问题就是index参数,从
本吧热帖: 1-sphinx for chinese自定义词典sphinx词典生成词典格式分析 2-准备自己生成xdict,请介绍一下词频的用法 3-xdict是什么格式啊 4-求个xdict_1.1.tar.gz的包 5-简繁体词库怎么弄 6-这个软件已经停了吧? 7-楚乔哥也来了。 8-帮忙看看安装错误怎么解决! 9-sphinx f