API 参考文档 包类对象描述 XS XS XS 搜索项目主类 XSCommand XSCommand 命令对象 XSComponent XS 组件基类 XSDocument 文档用于描述检索/索引的基础对象, 包含一组字段及其值, 相当于常规SQL数据表中的一行记录. ...
...ta 获取当前标题字段 XS index XSIndex 获取索引操作对象 XS name string 获取当前项目名称 XS scheme XSFieldScheme 获取当前在用的字段方案 XS scwsServer XSServer 创建 scws 分词连接 XS search XSSearch 获取搜索...
__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XS.class.php#L304 (显示) public function __destruct(){ $this->_index = null; $this->_search = null;} 析构函数 由于对象交叉引用, 如需提前销毁对象, 请强制调用该函数
...法 public XSIndex getIndex() {return} XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_config['server.index...
... public XSSearch getSearch() {return} XSSearch 搜索操作对象 源码: sdk/php/lib/XS.class.php#L431 (显示) public function getSearch(){ if ($this->_search === null) { $conns = array(); if (!isset($this->_config['server.search'])) { $conns[] = 8384...
getLastXS() 方法 public static XS getLastXS() {return} XS 最近创建的 XS 对象 源码: sdk/php/lib/XS.class.php#L314 (显示) public static function getLastXS(){ return self::$_lastXS;} 获取最新的 XS 实例
xs 属性 public XS $xs; 服务端关联的 XS 对象
...获取连接资源描述符 XSServer xs XS 服务端关联的 XS 对象 XSServer Protected 属性 隐去继承来的属性 名称类型描述定义于 _conn XSServer _flag XSServer _project XSServer _sendBuffer XSServer...
...me(XSFieldScheme $fs) $fs XSFieldScheme 一个有效的字段方案对象 源码: sdk/php/lib/XS.class.php#L334 (显示) public function setScheme(XSFieldScheme $fs){ $fs->checkValid(true); $this->_scheme = $fs; if ($this->_search !== null) { $this->_search->markResetSch...
index 属性 只读 public XSIndex getIndex() 获取索引操作对象