搜索

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

1.载入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...

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

3.RE: 分词不对

更新时间:2010-04-28 15:04 t By xinbao

锅炉的用法上 No. WordString Attr Weight(times) ------------------------------------------------- 01. 法上 nz 14.14(1) 02. 锅炉 n 5.86(1) 分词也不对的[hr] 下载的rules.ini里没有v+v=10这个东西

4.PSCWS4使用问题

更新时间:2010-10-21 17:10 t By hnmazda

...s\t%s\t%d\t%.2f\n", $i++, $tmp['word'], $tmp['attr'], $tmp['times'], $tmp['weight']); } $cws->close(); utf8编码好像使用不了,我把所有文件(ini,php,包括test.php)都改成utf8编码存储,header输出的也是utf8编码,执行默认的test.php,产生乱码,不知道问题...

5.倒入索引出错。。

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

6.XSFieldMeta

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

7.项目配置文件详解

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

8.Xunsearch SDK for PHP

...8161631, 15918161631]; // 相当于 XSSearch::addRange(...) $condition = ['WEIGHT', 'subject', 'hello', 0.5]; // 相当于额外调用 XSSearch::addWeight('subject', 'hello', 0.5); $query->where($condition); ``` 对于 `hightman\xunsearch\ActiveQuery` 对象,主要支持以下几个方法获取...

9.RE: [2010] SCWS-1.1.3 发布,支持文本词典实现自定义词库啦!!

更新时间:2010-11-13 10:11 t By snakeyasin

...序为词出现的先后顺序,词的结构和 get_tops 一样,包含 weight, times 的统计。 3. 以后上新或改动的 api 同步反应在 php 扩展中,对应的原型如下: 函数调用形式:bool scws_set_dict(Resource scws_handler, string filepath[, int mode = SCWS_XDICT_...

10.RE: [2010] SCWS-1.1.3 发布,支持文本词典实现自定义词库啦!!

发布时间:2012-11-06 22:11 t By umland

...序为词出现的先后顺序,词的结构和 get_tops 一样,包含 weight, times 的统计。 3. 以后上新或改动的 api 同步反应在 php 扩展中,对应的原型如下: 函数调用形式:bool scws_set_dict(Resource scws_handler, string filepath[, int mode = SCWS_XDICT_...

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