...回$res值为 object(XSIndex)#42 (9) { ["_buf":"XSIndex":private]=> string(0) "" ["_bufSize":"XSIndex":private]=> int(0) ["_rebuild":"XSIndex":private]=> bool(false) ["xs"]=> object(XS)#16 (6) { ["_index":"XS":private]=> *RECURSION* ["_search":"XS":private]=> ...
...1340167458'] title 默认带了一些附加属性,当然你也可以把 string 完全设置成和 title 一样 [/quote] title加了什么属性?需要检索的字段是string 如果都设置成title 再把权重改低 是不是比起string更优? [/quote] 那是没有区别的啊,ti...
自定义了dict_user.txt 出现奇怪现象,所有词性都变成了string(3),而且还出现了乱码: array(3) { ["off"]=> int(0) ["attr"]=> string(3) "@�" ["word"]=> string(15) "重庆鸡公煲" } array(3) { ["off"]=> int(0) ["attr"]=> string(3) "ns�" ["word"]=> string(6) "重庆" ...
...以设置到吗? [code] object(stdClass)#1 (2) { ["status"]=> string(2) "ok" ["words"]=> array(7) { [0]=> object(stdClass)#2 (5) { ["word"]=> string(6) "中文" ["off"]=> int(0) ["len"]=> int(6) ["idf"]=> float(6.289...
[quote='hightman' pid='931' dateline='1340167458'] title 默认带了一些附加属性,当然你也可以把 string 完全设置成和 title 一样 [/quote] title加了什么属性?需要检索的字段是string 如果都设置成title 再把权重改低 是不是比起string更优?
搜索测试的时候,搜索 '酷' 出来 ["b_name"] => string(15) "酷酷宠物店" ["b_name"] => string(18) "酷乐岛花木店" ["b_name"] => string(12) "酷乐猫舍" ["b_name"] => string(21) "酷酷宠物生活馆" 但是 还有个 ["b_name"] => string(18) "酷趣宠物诊所" 没...
... [pid] tokenizer = full type = numeric index = self [tid] type = string index = self tokenizer = full [fid] type = string index = self tokenizer = full [title] index = both type = title [content] index = mixed type=body [url] index = self type = string [sort] ind...