...ception] ../../../usr/local/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) { ...
... XSServer project string 获取当前项目名称 XSServer respond XSCommand 从服务器读取响应指令 XSServer socket mixed 获取连接资源描述符 XSServer xs XS 服务端关联的 XS 对象 XSServer Protected 属性 隐去继承来的属性...
... // get result documents while (true) { $res = $this->getRespond(); if ($res->cmd == XS_CMD_SEARCH_RESULT_FIELD) { $ret[] = XS::convert($res->buf, $this->_charset, 'UTF-8'); } elseif ($res->cmd == XS_CMD_OK && $res->arg == XS_CMD_OK_RESULT_END) ...
调用 getExpandedQuery方法出现异常 Unexpected respond in search {CMD:129, ARG:515} 某些词语(极少比列),不会出现异常。 重新向log_db导入词汇,不能消除异常;删除log_db,重新导入词汇,生成新log_db后,异常会立即消除,但一段时间...
...ction SCWS($title) { set_time_limit(0); $data = array("data"=>$title,"respond"=>"json","ignore"=>'yes', "multi"=>3); $data = http_build_query($data); $re = web_socket("http://www.ftphp.com/scws/api.php",0,$data); if(!$re) { return array('words'=>array()); } return json_decode($re...
...ap(); // get result documents while (true) { $res = $this->getRespond(); if ($res->cmd == XS_CMD_SEARCH_RESULT_FACETS) { $off = 0; while (($off + 6) < strlen($res->buf)) { $tmp = unpack('Cvno/Cvlen/Inum', substr($res->buf, $off, 6)); ...
...the Texas business climate. A progressive Texas political action committee responded Tuesday with radio ads in California taunting Perry.Perry said on the call that "this isn about bashing California; it about promoting Texas." But he went on to offer a few digs. When asked if Texas light regulatory...
...arch relatedQuery array 获取相关搜索词列表 XSSearch respond XSCommand 从服务器读取响应指令 XSServer socket mixed 获取连接资源描述符 XSServer xs XS 服务端关联的 XS 对象 XSServer Protected 属性 隐去继承来的属性...
... XSIndex project string 获取当前项目名称 XSServer respond XSCommand 从服务器读取响应指令 XSServer scwsMulti int 获取当前索引库的分词复合等级 XSIndex socket mixed 获取连接资源描述符 XSServer xs XS 服务端关...