...xunsearch/sdk/php/lib/XS.php(1436): Unexpected respond in search {CMD:129, ARG:515} thrown in /usr/local/xunsearch/sdk/php/lib/XS.php on line 1436
... return false; } $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'arg1' => 2, 'buf' => $term); $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_SYNONYMS); $ret = $res->buf === '' ? array() : explode("\n", $res->buf); return $ret;} 获取指定词汇的同义词列表
...MULTIWORD_SYNONYMS; } $cmd = array('cmd' => XS_CMD_QUERY_PARSEFLAG, 'arg' => $flag); $this->execCommand($cmd); return $this;} 开启自动同义词搜索功能
...cal/xunse/sdk/php/lib/XS.php(1464): Unexpected respond in search {CMD:129, ARG:514} 还是该错误 已更新和设置 无法解决 [/quote] 这个错是数据库没有准备就绪吧,是不是你还没有导入任何数据就尝试开始检索了? 或者贴上你的代码和目前...
...予最全面专业的技术指导 [url=http://www.53kf.com/company.php?arg=hiko&style=1][img]http://78921.net/v1/Service.gif[/img][/url] 欢迎使用易联在线客服 即时的与我们联系 了解更多产品信息. 下面内容更精彩!! ----------------- 华丽的分割线 --...
...xunsearch/sdk/php/lib/XS.php(1552): Unexpected respond in search {CMD:129, ARG:514} 代码如下 $xs = new XS('discuz'); $tokenizer = new XSTokenizerScws; $subject = $tokenizer->getTops($forumattr['subject'], 20, 'n,ns'); $stack = array(); foreach($subject as $word) { array_push($stack, $word['w...
... 隐去继承来的属性 名称类型描述定义于 arg XSDataSource inCli XSDataSource type XSDataSource Public 方法 隐去继承来的方法 名称描述定义于 __construct() 构造函数 XSDataSource getCha...
...md = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'buf1' => $page); $cmd['arg1'] = $stemmed == true ? 1 : 0; $res = $this->execCommand($cmd, XS_CMD_OK_RESULT_SYNONYMS); $ret = array(); if (!empty($res->buf)) { foreach (explode("\n", $res->buf) as $line) { $value = explode...
... $cmd = array('cmd' => XS_CMD_SEARCH_SET_FACETS, 'buf' => $buf); $cmd['arg1'] = $exact === true ? 1 : 0; $this->execCommand($cmd); return $this;} 设置分面搜索记数 用于记录匹配搜索结果中按字段值分组的数量统计, 每次调用 search 后会还原设置 对于...
... 隐去继承来的属性 名称类型描述定义于 arg XSDataSource inCli XSDataSource type XSDataSource Public 方法 隐去继承来的方法 名称描述定义于 __construct() 构造函数 XSDataSource getCha...