搜索

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

1.XSFieldMeta::toConfig

...D) { $str .= "type = id\n"; } elseif ($this->type === self::TYPE_TITLE) { $str .= "type = title\n"; } elseif ($this->type === self::TYPE_BODY) { $str .= "type = body\n"; } // index if ($this->type !== self::TYPE_BODY && ($index = ($this->flag & self::FLAG_INDEX_BO...

2.XSFieldMeta::isSpeical

...al(){ return ($this->type == self::TYPE_ID || $this->type == self::TYPE_TITLE || $this->type == self::TYPE_BODY);} 判断当前字段是否为特殊类型 特殊类型的字段是指 id, title, body, 每个项目至多只能有一个这种类型的字段

3.XSFieldMeta

...a weight int 混合区检索时的相对权重 取值范围: 1~63, title 类型的字段默认为 5, 其它字段默认为 1 XSFieldMeta Public 方法 隐去继承来的方法 名称描述定义于 __construct() 构造函数 XSFieldMeta __toString() 将...

4.XSFieldScheme

... getFieldId() 获取主键字段元数据 XSFieldScheme getFieldTitle() 获取标题字段元数据 XSFieldScheme getIterator() IteratorAggregate 接口, 以支持 foreach 遍历访问所有字段 XSFieldScheme getVnoMap() 获取所有字段的vno与名称映映射关系...

5.XSFieldMeta::fromConfig

... $this->tokenizer = 'full'; } elseif ($this->type == self::TYPE_TITLE) { $this->flag = self::FLAG_INDEX_BOTH | self::FLAG_WITH_POSITION; $this->weight = 5; } elseif ($this->type == self::TYPE_BODY) { $this->vno = XSFieldScheme::MIXED...

6.XS

... XS fieldId XSFieldMeta 获取当前主键字段 XS fieldTitle XSFieldMeta 获取当前标题字段 XS index XSIndex 获取索引操作对象 XS name string 获取当前项目名称 XS scheme XSFieldScheme 获取当前在用的字段方案 XS s...

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