...ption] ThinkPHP/Extend/Vendor/sdk/php/lib/XS.php(2160): Failed to recv the data from server completely (SIZE:0/8, REASON:closed); 以前都好的,我看了下论坛里以前的错误,是在 $xs = new XS(VENDOR_PATH.'sdk/php/app/'.$xs_config); $search = $xs->search; 下加上 $search->s...
...果为“华硕/主板/H/61/-/PLUS”。尝试过自定义词库,$prefix/data/项目名称/dict_user.txt 加入H61,但是不起作用,中文词汇是可以的。如果想分词结果中有H61,是不是只能自定义分词了?像这种商品的型号中很多类似的,如华硕主板H87-...
...ew() 之前加一句: echo "dict content: \n"; echo file_get_contents('/data/html/365search/dict.film.txt'); echo "\n-------\n"; 看看你的 dict.film.txt 是不是真的写入了?
...题,如果我要查询的分类很多的话,比如30个,还是会报 Data/Name too long 的异常,有没有能够从根本上解决这个问题的方法呢?还是我的搜索策略需要改变?
...查看系统top的时候 xs-import进程一直占着很大的cpu,并且data文件夹里的文件大小也一直在变化,是不是虽然索引导入完成,还有一些其他的工作在执行?
code: var_dump(scws_version()); scws_has_words($sh, $cutword); 打印输出: string(64) "SCWS (Module version:1.0.0, Library version:1.2.0) - by hightman" Fatal error: Call to undefined function scws_has_words() in /letv/data/www/cutword/index.php on line 15 求帮助
...se_year] type = string [/code] 搜索代码: [code] $xs = new XS('data.ini'); $search = $xs->getSearch(); $query = $fields['query']; $from = $fields['from']; $to = $fields['to']; $search->setQuery($query); $search->addRange('use_year', $from , $to); $docs = $search->search(); print...
...x error before "mmap_lock" ../../storage/myisam/myisamdef.h:222: warning: data definition has no type or storage class ../../storage/myisam/myisamdef.h:223: warning: data definition has no type or storage class ../../storage/myisam/myisamdef.h:236: error: syntax error before "MYISAM_SHARE" ../.....
...什么问题? 错误:[XSException] ../../..(2140): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) 分类: Fatal error: Uncaught [XSErrorException] ../../..(243): array_sum(): The argument should be an array(2) thrown in D:\web\www[/align]\so\sdk\php\lib\XS.php on li...