搜索

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

141.XSSearch::setRequireMatchedTerm

... 表示开启返回, 设为 false 关闭该功能, 默认是不开启 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L114 (显示) public function setRequireMatchedTerm($value = true){ $arg1 = XS_CMD_SEARCH_MISC_MATCHED_TERM; $arg2...

142.XSFieldScheme::logger

logger() 方法 public static XSFieldScheme logger() {return} XSFieldScheme 搜索日志字段方案 源码: sdk/php/lib/XSFieldScheme.class.php#L198 (显示) public static function logger(){ if (self::$_logger === null) { $scheme = new self; $scheme->addField('i...

143.XSIndex::openBuffer

... $size=4) $size int 缓冲区大小, 单位: MB 默认为 4MB {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L362 (显示) public function openBuffer($size = 4){ if ($this->_buf !== '') { $this->addExdata($this->_buf, fal...

144.XSDatabaseSQLite3::query

... mixed query(string $sql) $sql string 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L781 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = $this->obj->query($sql); if ($res === false) { throw new XSEx...

145.XSSearch::setCutOff

...除权重低于此值的文档, 值范围 0.1-25.5, 0 表示不剔除 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L98 (显示) public function setCutOff($percent, $weight = 0){ $percent = max(0, min(100, intval($percent))); $wei...

146.XSUtil::fixWidth

...修正的目标宽度 $pad string 用于填充补足的字符 {return} string 源码: sdk/php/util/XSUtil.class.php#L50 (显示) public static function fixWidth($text, $size, $pad = ' '){ for ($i = $j = 0; $i < strlen($text) && $j < $size; $i++, $j++) { if ((ord($text...

147.XSSearch::setAutoSynonyms

... true 表示开启同义词功能, 设为 false 关闭同义词功能 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L129 (显示) public function setAutoSynonyms($value = true){ $flag = XS_CMD_PARSE_FLAG_BOOLEAN | XS_CMD_PARSE_FLAG_P...

148.XSSearch::setCollapse

...叠后只是返最匹配的数据数量, 默认为 1, 最大值 255 {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L332 (显示) public function setCollapse($field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this-...

149.搜索条件可以使数组吗?

发布时间:2012-05-25 17:05 t By latsu

... XS('shop'); $query = "regionId:".$array['regionId']; //return $query;exit; $ShopDoc = $xs->search->setCharset('UTF-8')->setLimit(1000, 0)->search($query);//我现在想再search里传入数组,进行多字段的查询...不知道怎么实现呢? $shopRows = array(); ...

150.XSIndex::addSynonym

...nonym string 同义词条, 最小语素, 勿带空格等分隔符 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L283 (显示) public function addSynonym($raw, $synonym){ $raw = strval($raw); $synonym = strval($synonym); if ($...

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