... if ($ff->type !== XSFieldMeta::TYPE_STRING) { throw new XSException("Field `$name' cann't be used for facets search, can only be string type"); } $buf .= chr($ff->vno); } $cmd = array('cmd' => XS_CMD_SEARCH_SET_FACETS, 'buf' => $buf); $cmd['arg1'] = $exact =...
...装 也是那样 哪位大侠 帮俺看看:huh: 搜索报错 错误:[XSException] ../../xunsearch/sdk/php/lib/XS.php(2092): None of database avaiable(S#506) [hr] 大侠们 都干啥呢
...出错,重启服务器就好了,请问这是什么问题? 错误:[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 i...
报错:[XSException] ThinkPHP/Extend/Vendor/sdk/php/lib/XS.php(2087): Task is canceled due to timeout/error(S#514) 日志: 2012-12-25 10:19:08 worker1[11340] [sock:7] task canceld, run the cleanup (ZARG:0x7f6c775fdbf0) 2012-12-25 10:19:08 worker1[11340] [sock:7] quit, result error (CODE:514) ...
...pxl@debian:~/test$ php sdk/php/util/Quest.php goods id:3122 --show-query [XSException] sdk/php/lib/XS.php(2455): Failed to recv the data from server completely (SIZE:0/8, REASON:timeout) #0 sdk/php/lib/XS.php(2395): XSServer->read(8) #1 sdk/php/lib/XS.php(2380): XSServer->getRespond() #2 sdk/php...
...php 搜索的时候,出现的。权限需要怎么解决? 错误:[XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2481): Permission denied(C#13, localhost:8384) [/quote] 原因是防火墙的问题。 你可以先试 #setenforce 0 然后在打开你的搜索页,搜...
...ame])) { return $this->_meta[$name]; } } throw new XSException('Call to undefined method `' . get_class($this) . '::' . $name . '()\'');} 魔术方法 __call 实现以函数调用访问搜索结果元数据, 支持: docid, rank, percent, weight, ccount __construct() ...
...arch {CMD:' . $res->cmd . ', ARG:' . $res->arg . '}'; throw new XSException($msg); } } if ($query === '') { $this->_count = $this->_lastCount; // trigger log & highlight if ($this->_curDb !== self::LOG_DB) { $this->logQuery(); if ($s...
... } if (!class_exists($name)) { throw new XSException('Undefined custom tokenizer `' . $this->tokenizer . '\' for field `' . $this->name . '\''); } } $obj = $arg === null ? new $name : new $name($arg); if (!$obj instanceof XSTokenizer)...
...y = $doc->f($fid); if ($key === null || $key === '') { throw new XSException('Missing value of primary key (FIELD:' . $fid . ')'); } // request cmd $cmd = new XSCommand(XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REQUEST_ADD); if ($add !== true) { $cmd->arg1 = XS_CMD_INDEX_REQUES...