搜索

大约有 6 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.1963秒)

1.XSSearch::setCutOff

... $percent int 剔除匹配百分比低于此值的文档, 值范围 0-100 $weight float 剔除权重低于此值的文档, 值范围 0.1-25.5, 0 表示不剔除 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L98 (显示) pub...

2.XSSearch::setSynonymScale

... $arg1 = XS_CMD_SEARCH_MISC_SYN_SCALE; $arg2 = max(0, (intval($value * 100) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_MISC, $arg1, $arg2); $this->execCommand($cmd); return $this;} 设置同义词搜索的权重比例

3.XSSearch::getAllSynonyms

...med=false) $limit int 数量上限, 若设为 0 则启用默认值 100 个 $offset int 偏移量, 即跳过的结果数量, 默认为 0 $stemmed bool 是否包含处理过的词根同义词, 默认为 false 表示否 {return} array 同义词记录数组, 每个词条...

4.XSSearch::addQueryTerm

...set); $bscale = ($scale > 0 && $scale != 1) ? pack('n', intval($scale * 100)) : ''; $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $cmd = new XSCommand(XS_CMD_QUERY_TERM, $addOp, $vno, $term, $bscale); $this->execCommand($cmd); return $this...

5.XSSearch::addQueryString

...ery); $bscale = ($scale > 0 && $scale != 1) ? pack('n', intval($scale * 100)) : ''; $cmd = new XSCommand(XS_CMD_QUERY_PARSE, $addOp, $this->_defaultOp, $query, $bscale); $this->execCommand($cmd); return $query;} 增加默认搜索语句

6.XSSearch

...ery); $bscale = ($scale > 0 && $scale != 1) ? pack('n', intval($scale * 100)) : ''; $cmd = new XSCommand(XS_CMD_QUERY_PARSE, $addOp, $this->_defaultOp, $query, $bscale); $this->execCommand($cmd); return $query;} 增加默认搜索语句 addQueryTerm() 方法 public XSSearch...

  • 时间不限
  • 按相关性排序