... string 返回解析后的搜索语句 源码: sdk/php/lib/XSSearch.class.php#L204 (显示) public function getQuery($query = null){ $query = $query === null ? '' : $this->preQueryString($query); $cmd = new XSCommand(XS_CMD_QUERY_GET_STRING, 0, $this->_defaultOp, $query); $res = $th...
... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L332 (显示) public function setCollapse($field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $max = min(255, intval($num)); $cmd = new XSCommand(...
...ent All Packages | 方法(函数) 包 XS 继承关系 class XSDocument 实现接口 ArrayAccess, IteratorAggregate, Traversable 版本 1.0.0 源代码 sdk/php/lib/XSDocument.class.php 文档用于描述检索/索引的基础对象, 包含一组字段及其...
...eme All Packages | 方法(函数) 包 XS 继承关系 class XSFieldScheme 实现接口 IteratorAggregate, Traversable 版本 1.0.0 源代码 sdk/php/lib/XSFieldScheme.class.php XS 数据字段方案 每个方案包含若干个字段结构对象 XSFieldMeta ...
...回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L283 (显示) public function setDict($fpath, $mode = null){ if (!is_int($mode)) { $mode = stripos($fpath, '.txt') !== false ? SCWS_XDICT_TXT : SCWS_XDICT_XDB; } $this->_setting['set_dict'] = new XSCo...
__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XSServer.class.php#L154 (显示) public function __destruct(){ $this->xs = null; $this->close();} 析构函数, 关闭连接
...匹配的搜索结果数量, 估算数值 源码: sdk/php/lib/XSSearch.class.php#L547 (显示) public function count($query = null){ $query = $query === null ? '' : $this->preQueryString($query); if ($query === '' && $this->_count !== null) { return $this->_count; } $cmd = ne...
... Packages | 方法(函数) 包 XS.util.db 继承关系 class XSDatabaseMySQLI » XSDatabase 版本 1.0.0 源代码 sdk/php/util/XSDataSource.class.php 面向对象的 MySQLI 扩展 Public 方法 隐去继承来的方法 名称描述定义于 ...
... 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L331 (显示) public function setScwsMulti($level){ $level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_MULTI, 'arg2' => $...
... 返回自身对象以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L444 (显示) public function setScwsMulti($level){ $level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_MULTI, 'arg2' => $...