按照http://www.xunsearch.com/doc/php/guide/start.demo的指导, [code]cd $prefix/sdk/php util/Indexer.php --source=csv --clean demo[/code] 提示如下: /usr/bin/env: php: No such file or directory 请问是什么原因?
[attachment=51][attachment=52]http://www.xunsearch.com/doc/php/guide/start.demo[img]C:\Users\illow\Desktop\桌面图纸.jpg[/img][/img]:\Users\illow\Desktop\截图.jpg[/img]
分词采用的是我们同样开源发布的 scws 见:http://www.ftphp.com/scws/ 是C版的。 此外,你所说的最大颗粒分词是指最长匹配吗?分词在 scws/xunsearch 结合时作了很多特殊处理,保障查全率和准确率。 比如“管理制度” 解析为 “...
刚看了源码,大概是BUG,已经做了修正,建议下载最新的打包试一下看看! [url]http://www.xunsearch.com/download/xunsearch-full-dev.tar.bz2[/url]
我编译后没有实现分词功能,只分字了.图片如下 [attachment=33] 只实现了分字,并没实现分词!!!!![hr] 我自己找到原因了,哈哈.原来是字典没加载成功. 我从这个帖子找到原因的 http://www.hightman.cn/bbs/showthread.php?tid=37
...音搜索、搜索建议等专业功能。 官方网站:[url]http://www.xunsearch.com/[/url] 下载地址:[url]http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2[/url] 代码仓库:[url]https://github.com/hightman/xunsearch[/url] 修改日志:[url]https://github.com/hightm...
建议看这里:[url]http://www.xunsearch.com/doc/php/guide/start.demo[/url]
...谢谢你了[hr] [quote='bigxu' pid='8360' dateline='1405578798'] http://www.xunsearch.com/site/search?q=%E5%8D%95%E5%AD%97+%E5%88%86%E8%AF%8D [/quote] 谢谢!
有没有含有简体中文的gbk规则集文件啊。我在http://www.ftphp.com/scws/download.php#dll处下的文件包括rules.ini rules.utf8.ini rules_cht.utf8.ini 这三个文件,这貌似没有gbk的规则文件吧?但是pscws23只能用gbk。请问这怎么办
addWeight('title', $skey) 作何解释?addWeight 是只针对一个词的。 此外 $skey 发果是关键字你就用 setQuery($skey . " type:1") 这样啊,详见: http://www.xunsearch.com/doc/php/guide/search.query