搜索

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

1.XSFieldMeta.weight

weight 属性 public int $weight; 混合区检索时的相对权重 取值范围: 1~63, title 类型的字段默认为 5, 其它字段默认为 1

2.XSDocument::addTerm

...Term() 方法 public void addTerm(string $field, string $term, int $weight=1) $field string 词条所属字段名称 $term string 词条内容, 不超过 255字节 $weight int 词重, 默认为 1 源码: sdk/php/lib/XSDocument.class.php#L236 (显示) public functi...

3.XSSearch::setCutOff

setCutOff() 方法 public XSSearch setCutOff(int $percent, float $weight=0) $percent int 剔除匹配百分比低于此值的文档, 值范围 0-100 $weight float 剔除权重低于此值的文档, 值范围 0.1-25.5, 0 表示不剔除 {return} XSSearch 返回对象本...

4.增量索引不成功

发布时间:2014-02-13 17:02 t By lzc2523700

... string(6) "joinid" ["cutlen"]=> int(0) ["weight"]=> int(1) ["type"]=> int(10) ["vno"]=> int(0) ["tokenizer":"XSFieldMeta":private]=> string(4) "full" ["flag":"XSFieldMeta":privat...

5.一个字符搜索不到数据,必须两个字符或以上才行

更新时间:2014-06-05 20:06 t By phpqinsir

...类型 [goods_type] tyep = string tokenizer = full ; 商品权重 [weight] type = numeric ; 配送范围 [scope] type = string index = mixed tokenizer = default ; 配送开始时间 [starttime] type = numeric ; 配送截止时间 [endtime] type = numeric [/php] 不知...

6.XSSearch::addWeight

addWeight() 方法 public XSSearch addWeight(string $field, string $term, float $weight=1) $field string 索引词所属的字段 $term string 索引词 $weight float 权重计算缩放比例 {return} XSSearch 返回对象本身以支持串接操作 源码:...

7.addWeight提权的问题 提不上去

更新时间:2013-08-22 13:08 t By beike228

//执行语句 $gSearch->setFuzzy()->setQuery($name)->addWeight('ranking','1')->setLimit($gNum,$startPage)->search(); //执行结果 Xapian::Query((疯:(pos=1) AND_MAYBE GD1))[hr] //输出结果 [0] => XSDocument Object ( [_data:XSDocument:private] => Array ...

8.图片搜索的一些疑问

更新时间:2014-02-16 17:02 t By Mr.

...片ID主键 唯一 type = id index = none tokenizer = none cutlen = 0 weight = 0 phrase = no non_bool = no [title];图片属于哪个图集的题标 非唯一 但每个图集题标都是唯一 type = title;我可以设置为string? index = both;如果type = title 请问我可以设置...

9.载入txt词典所出现的BUG

更新时间:2011-08-09 12:08 t By 999

... [word] => 印第安那 [times] => 1 [weight] => 15.979999542236 [attr] => ns ) [1] => Array ( [word] => 印第安那波利斯 [times] => 1 [weight] => 12.680000305176 [attr...

10.XSFieldMeta::toConfig

...YPE_BODY)) { $str .= "cutlen = " . $this->cutlen . "\n"; } // weight if ($this->weight !== 1 && !($this->weight === 5 && $this->type === self::TYPE_TITLE)) { $str .= "weight = " . $this->weight . "\n"; } // phrase if ($this->flag & self::FLAG_WITH_POSITION) { i...

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