...f . "\n"; break; } else { $msg = 'Unexpected respond in search {CMD:' . $res->cmd . ', ARG:' . $res->arg . '}'; throw new XSException($msg); } } } catch (XSException $e) { if ($e->getCode() != XS_CMD_ERR_XAPIAN) { ...
... break; case JSON_ERROR_CTRL_CHAR: $error = ' - Unexpected control character found'; break; case JSON_ERROR_SYNTAX: $error = ' - Syntax error, malformed JSON'; break; default : $error = (coun...
调用 getExpandedQuery方法出现异常 Unexpected respond in search {CMD:129, ARG:515} 某些词语(极少比列),不会出现异常。 重新向log_db导入词汇,不能消除异常;删除log_db,重新导入词汇,生成新log_db后,异常会立即消除,但一段时间...
... break; case JSON_ERROR_CTRL_CHAR: $error = ' - Unexpected control character found'; break; case JSON_ERROR_SYNTAX: $error = ' - Syntax error, malformed JSON'; break; default : $error = (coun...
... // got the end break; } else { $msg = 'Unexpected respond in search {CMD:' . $res->cmd . ', ARG:' . $res->arg . '}'; throw new XSException($msg); } } if ($query === '') { $this->_count = $this->_lastCount; // trigger log & hig...
...LL 这两句之后就会有下面的错误。 Parse error: syntax error, unexpected T_DEFAULT in D:\DedeAMPZ\WebRoot\Default\tld\dede\getwen.php on line 5 不加呢,又会分词不成功,貌似是词典的问题,能不能告诉我哪里做错了呢? 忘记说了,我用的编码都是ut...
..._ERR) { throw new XSException($res->buf, $res->arg); } // got unexpected respond command if ($res->cmd != $res_cmd || ($res_arg != XS_CMD_NONE && $res->arg != $res_arg)) { throw new XSException('Unexpected respond {CMD:' . $res->cmd . ', ARG:' . $res->arg . '}'); } retur...
...f . "\n"; break; } else { $msg = 'Unexpected respond in search {CMD:' . $res->cmd . ', ARG:' . $res->arg . '}'; throw new XSException($msg); } } } catch (XSException $e) { if ($e->getCode() != XS_CMD_ERR_XAPIAN) { ...