...hp(1832): Failed to open file(S#513) #0 ../phplib/XS.php(1089): XSServer->execCommand(Array, 250) #1 ../phplib/XS.php(1094): XSIndex->addExdata('????????111????...') #2 ../phplib/XS.php(1100): XSIndex->openBuffer(0) #3 ../phputil/Indexer.php(206): XSIndex->closeBuffer() #4 {main} PHP Fatal err...
...T, XS_CMD_SCWS_GET_TOPS, $limit, $text, $xattr); $res = self::$_server->execCommand($cmd, XS_CMD_OK_SCWS_TOPS); while ($res->buf !== '') { $tmp = unpack('Itimes/a4attr/a*word', $res->buf); $tmp['word'] = XS::convert($tmp['word'], self::$_charset, 'UTF-8'); $words[] = $tmp;...
...1' => $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("\t", $line); $key = array_shift($value)...
...('cmd' => XS_CMD_QUERY_GET_CORRECTED, 'buf' => $buf); $res = $this->execCommand($cmd, XS_CMD_OK_QUERY_CORRECTED); if ($res->buf !== '') { $ret = explode("\n", XS::convert($res->buf, $this->_charset, 'UTF-8')); } } catch (XSException $e) { if ($e->getCode() !...
... new XSCommand(XS_CMD_QUERY_TERM, $addOp, $vno, $term, $bscale); $this->execCommand($cmd); return $this;} 增加默认搜索词汇
...XS_CMD_QUERY_PARSE, $addOp, $this->_defaultOp, $query, $bscale); $this->execCommand($cmd); return $query;} 增加默认搜索语句
...术方法 __unset XSComponent close() 关闭连接 XSServer execCommand() 执行服务端指令并获取返回值 XSServer getConnString() Returns 连接字符串 XSServer getProject() 获取当前项目名称 XSServer getRespond() 从服务器读取响应指...
...CETS, 'buf' => $buf); $cmd['arg1'] = $exact === true ? 1 : 0; $this->execCommand($cmd); return $this;} 设置分面搜索记数 用于记录匹配搜索结果中按字段值分组的数量统计, 每次调用 search 后会还原设置 对于多次调用 $exact 参数以最后一次为...
...getRespond() #2 /usr/local/xunsearch/sdk/php/lib/XS.php(2067): XSServer->execCommand(Array, 201) #3 /usr/local/xunsearch/sdk/php/lib/XS.php(2028): XSServer->setProject('demo') #4 /usr/local/xunsearch/sdk/php/lib/XS.php(1280): XSServer->open('8384') #5 /usr/local/xunsearch/sdk/php/lib/XS.php(...
开始重建索引 ... [XSException] ../local/xunsearch/sdk/php/lib/XS.php(1898): DB has been rebuilding(S#407) #0 ../local/xunsearch/sdk/php/lib/XS.php(1122): XSServer->execCommand(Array, 257) #1 Indexer.php(163): XSIndex->beginRebuild() #2 {main}