开始重建索引 ... [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}
是不是你之前重建 没有完成就又重建了?建议用 bin/xs-ctl.sh restart 然后再调用 Indexer.php --clean 清除吧
XSException All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSException » Exception 子类 XSErrorException 版本 1.0.0 源代码 sdk/php/lib/XS.class.php XS 异常类定义, XS 所有操作过程发生异常均抛出该实例 Protect...
Uncaught [XSException] ../../xunsearch/sdk/php/lib/XS.php(1970): The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation(S#515) thrown in /usr/local/xunsearch/sdk/php/lib/XS.php on line 1970 又报另外一个错误[hr] Fatal error: Uncaught [...
XSException 异常 所有操作中出现的异常、错误均抛出此类型的异常,搜索代码中应该尝试捕捉该异常以确定操作是否成功。 已通过重载魔术方法 [XSException::__toString] 对出错信息作了简要的美化和修饰,您可以直接输...
...行运行脚本一切OK 浏览器访问报错,Fatal error: Uncaught [XSException] ../xunsearch/sdk/php/lib/XS.php(2204): Connection timed out(C#110) thrown in /xunsearch/sdk/php/lib/XS.php on line 2204 或者 Fatal error: Uncaught [XSException] .. nsearch/sdk/php b/XS.php(2204): php_network_...
[root@hp php]# util/Indexer.php --source=csv --clean demo [XSException] lib/XS.php(2092): Failed to create home directoy of the project(S#508) #0 lib/XS.php(2067): XSServer->execCommand(Array, 201) #1 lib/XS.php(2028): XSServer->setProject('demo') #2 lib/XS.php(2011): XSServer->open('8383') #3 ...
...响使用),然后运行了demo程序结果报错,内容如下: [XSException] lib/XS.php(2008): Connection refused(C#111) #0 lib/XS.php(1831): XSServer->connect() #1 lib/XS.php(1817): XSServer->open('8383') #2 lib/XS.php(318): XSServer->__construct('8383', Object(XS)) #3 lib/XS.php(232...
... 错误:Object id #9 打印出search.php捕获到的异常,显示 [XSException] ../../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2105): XSServer->read(8) #1 /usr/...
__toString() 方法 public string __toString() {return} string 异常的简要描述信息 源码: sdk/php/lib/XS.class.php#L67 (显示) public function __toString(){ $string = '[' . __CLASS__ . '] ' . $this->getRelPath($this->getFile()) . '(' . $this->getLine() . '): '; $s...