使用中发现setLimit大于100是无效的,最大只能为100,查了一下论坛说因为作cache的原因,所以一次最大只返回100。由于我根据作文章的查询,比如说每页显示100条标题的话,最大值为100的话,在用户点击下一页的,又要连接一次xu...
e:\scws\scws-1.1.5\libscws\xdb.c(555) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(const void *,const void *)'
[quote='fain7' pid='8166' dateline='1402653454'] 得到count的数字不对 基于我的数据库,我搜索“OL”并显示10个记录,显示匹配结果数目有526条。 当我搜索“OL”并显示10个记录,跳过18个记录的时候,显示匹配结果数目还是526条。 ...
...ee 'setup.log' for more detail 没配置xapian-core-scws 这个是什么问题啊?? 找了一天了,搜索了一天了实在找不出原因,求高手解答....有朋友说是没分词库,安装包中不是有scws包? 这个是什么原因在线等
我也发现是这样的问题,我现在最新1.1.7,自定义一个词库后(),原词库就没有用了。 比如: new.txt(这个文件里,试过一个词也没有、添加个别词两种情况); $so = scws_new(); //$so->add_dict('', SCWS_XDICT_TXT); $so->send_text('广州...
util/Indexer.php --rebuild --source, rebuild 是配合--source来使用的,详看[url=http://www.xunsearch.com/doc/php/guide/util.indexer#ch5]说明[/url]。具体用法为: # 导入 MySQL 数据库的 dbname.tbl_post 表到 demo 项目中,并且平滑重建 util/Indexer.php --rebuild --sour...
FastCGI sent in stderr: "Data/Name too long" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: www.xxx.xxx, request: "GET /search?q=source%3Aqiyi+type%3Avideo+tag%3A%E7%94%B5%E5%BD%B1+OR+tag%3A%E6%83%8A %E6%82%9A+OR+tag%3A%E7%8A%AF%E7%BD%AA+OR+tag%3A%E7%88%B1%E6%83...
[code][/code] 加了。不过出现 [root@beihai365 365search]# php test.php dict content: 哦你呀 武不只 我是谁 精武英雄 1.0 1.0 tq ------- Array ( [0] => Array ( [word] => 精武英雄 [off] => 0 [len] =>...