搜索

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

1.获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-09 17:08 t By blueo

...> Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 ) [title] => XSFieldMeta Object ( [name] => title [cutlen] => 0 [weight] => 5 [type] => 11 [vno] => 1 [tokenizer:private] => 0 [flag:private...

2.XSFieldMeta.weight

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

3.增量索引不成功

发布时间: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...

4.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...

5.XSFieldMeta

...不能重复, 由 XSFieldScheme::addField 进行确定 XSFieldMeta weight int 混合区检索时的相对权重 取值范围: 1~63, title 类型的字段默认为 5, 其它字段默认为 1 XSFieldMeta Public 方法 隐去继承来的方法 名称描述定义于 ...

6.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 ...

7.倒入索引出错。。

发布时间:2012-04-18 22:04 t By qq277049

[code] project.name = 59n [bid] type = id [title] index = mixed weight = 5 [bc] index = mixed [cc] index = mixed [addtime] type = date tokenizer = none [/code] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.titl...

8.搜索出来的数字型怎么成了这样的乱码

更新时间:2012-02-24 11:02 t By zl8522115

... [ccount] => 0 [percent] => 100 [weight] => 0 ) ) [1] => XSDocument Object [/code] 那个sort,time,update_time,都是int型的 配置文件如下 [code] project.name = xuenar_news project.default_charset = utf-8 ser...

9.项目配置文件详解

...编码的一个汉字为 3 个字节。 ~~~ cutlen = 0 ~~~ #### weight 混合区检索时的概率权重 在混合检索时,可以对标题和内容等不同字段进行权重计算,如果你不想该字段参与计算权重可设为 0 。 通常默认值为 1 ,但 titl...

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