... 是否优先相关性排序, 默认为否 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L246 (显示) public function setMultiSort($fields, $reverse = false, $relevance_first = false){ if (!is_array($fields)) { return $this->...
...数据数量, 默认为 1, 最大值 255 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L332 (显示) public function setCollapse($field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)...
... | OK | XS(core) | SPL 扩展用于自动加载和对象戏法 | | PCRE 扩展 | OK | XSDocument, XSSearch | 用于字符串切割、判断 | | 编码转换 | mbstring | XSDocument, XSSearch | 用于支持非 UTF-8 字符集 | | 缓存...
...T_XDB|SCWS_XDICT_TXT|SCWS_XDICT_MEM {return} XSTokenizerScws 返回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L283 (显示) public function setDict($fpath, $mode = null){ if (!is_int($mode)) { $mode = stripos($fpath, '.txt') !== false ? SCWS_XD...
... int 要设置的分词复合等级 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L331 (显示) public function setScwsMulti($level){ $level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_S...
...int 要设置的分词复合等级 {return} XSSearch 返回自身对象以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L444 (显示) public function setScwsMulti($level){ $level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_...
... | OK | XS(core) | SPL 扩展用于自动加载和对象戏法 | | PCRE 扩展 | OK | XSDocument, XSSearch | 用于字符串切割、判断 | | 编码转换 | iconv | XSDocument, XSSearch | 用于支持非 UTF-8 字符集 | | 缓...
...T_XDB|SCWS_XDICT_TXT|SCWS_XDICT_MEM {return} XSTokenizerScws 返回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L299 (显示) public function addDict($fpath, $mode = null){ if (!is_int($mode)) { $mode = stripos($fpath, '.txt') !== false ? SCWS_XD...
... | OK | XS(core) | SPL 扩展用于自动加载和对象戏法 | | PCRE 扩展 | OK | XSDocument, XSSearch | 用于字符串切割、判断 | | 编码转换 | mbstring | XSDocument, XSSearch | 用于支持非 UTF-8 字符集 | | 缓存...