__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XS.class.php#L304 (显示) public function __destruct(){ $this->_index = null; $this->_search = null;} 析构函数 由于对象交叉引用, 如需提前销毁对象, 请强制调用该函数
...Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on line 367 PHP Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on line 367 PHP Notice: Uninitialized string offset: 0 in /www/xunsearch/run/sdk/php/lib/XS.php on line 367 PHP Not...
... 错误: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/...
...afe_mode_include_dir = /usr/local/xunsearch/sdk/php/lib/ 这样require './XS.php'; 会报错 Fatal error: require() [function.require]: Failed opening required './XS.php' (include_path='.:/www/wdlinux/nginx_php-5.2.17/lib/php') in /www/web/torrentkittys/public_html/index2.php on line 2 代码...
getScwsServer() 方法 public XSServer getScwsServer() {return} XSServer 分词服务器 源码: sdk/php/lib/XS.class.php#L467 (显示) public function getScwsServer(){ if ($this->_scws === null) { $conn = isset($this->_config['server.search']) ? $this->_config['server....
[root@li382-193 ~]# /usr/local/xunsearch/bin/xs-ctl.sh fastrestart INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:127.0.0.1:8384) ................................. [FAILED] [ro...
getField() 方法 public XSFieldMeta getField(mixed $name, bool $throw=true) $name mixed 字段名称(string) 或字段序号(vno, int) $throw bool 当字段不存在时是否抛出异常, 默认为 true {return} XSFieldMeta 字段元数据对象 源码: sdk/php/li...
今天启动xs-ctl.sh start又出现了这个问题。 我忘了启动httpd和mysqld。 [root@sm xunsearch]# ./bin/xs-ctl.sh restart INFO: stopping server[xs-indexd] (BIND:127.0.0.1:8383) .... [OK] INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) INFO: stopping server[xs-searchd] (BIND:...
这个就是提示文件 找不到,既然 你把 lib 加进 include_path 你不如直接 require_once 'XS.php' BTW:没接触过PHP直接用XS恐怕很难。
update() 方法 public XSIndex update(XSDocument $doc, bool $add=false) $doc XSDocument $add bool 是否为新增文档, 已有数据中不存在同一主键的其它数据 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class....