搜索

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

1.split无效

更新时间:2014-07-23 11:07 t By q398044828

index=self时,split分词器会执行,但是index=mixed时,split分词器就不会执行 这是怎么回事? 这是我字段内容 1=2&3=1&4=3-------------- 这是字段配置 [userinfo] tokenizer = split(&) type = string index = mixed 搜索1=2 分词器不执行,搜索userinfo:1=2 分词器才会...

2.split无效

更新时间:2014-07-23 11:07 t By q398044828

index=self时,split分词器会执行,但是index=mixed时,split分词器就不会执行 这是怎么回事? 这是我字段内容 1=2&3=1&4=3-------------- 这是字段配置 [userinfo] tokenizer = split(&) type = string index = mixed 搜索1=2 分词器不执行,搜索userinfo:1=2 分词器才会...

3.啥时候可以针对 split(|) 分割的字段进行分面搜索

发布时间:2014-07-23 10:07 t By xunsearch飞吧

分类分词 tokenizer = split(|) 这样的存进文档里,这样可以实现多个分类的 分面查询吗? 之前有篇帖子加 addTerm 或者 以split(|) 分割的2种方法,我试了下,不能解决分面搜索的统计结果! 没办法,又试了下,我结合以split(|) 分...

4.为什么布尔搜索不适合 自定义分词?

发布时间:2014-07-23 15:07 t By xunsearch飞吧

如下: 自定义分词字段 b_split_title [b_split_title] type = title tokenizer =coupon $search->setQuery( '(b_split_title:宠物 OR 宠物 ) AND b_city_id:31')->setlimit(1000000)->setFacets('b_tag_id')->search(); 打印: Xapian::Query(((or:(pos=1) AND 宠物:(pos=2) AND and:(pos=3) ...

5.scws_set_multi复式分割无效

更新时间:2011-11-03 17:11 t By xjtdy888

...WS_MULTI_NONE 0x00000 // nothing #define SCWS_MULTI_SHORT 0x01000 // split long words to short words from left to right #define SCWS_MULTI_DUALITY 0x02000 // split every long words(3 chars?) to two chars #define SCWS_MULTI_ZMAIN 0x04000 // split to main single chinese char atr = j|a|n?|v?...

6.配置文件的困惑

发布时间:2012-03-16 17:03 t By 张十三

...适合这种情况 none 表示本字段没有任何词汇用于索引 split([ ]) 表示根据参数分割内容,默认参数为空格,若参数以 / 开头并以 / 结尾则 内部调用 preg_split(arg, ..) 来分割取词,以支持正则或其它特殊字符分割 xlen([2]) 表示根据...

7.XSTokenizerSplit::getTokens

...rg, 0, 1) == '/' && substr($this->arg, -1, 1) == '/') { return preg_split($this->arg, $value); } return explode($this->arg, $value);}

8.RE: 请问如何实现多值搜索呢?

更新时间:2013-03-30 10:03 t By fenglangyj

哈哈,我也在找这个问题,终于找到答案了! 我有个字段叫“cat_id”,存的分类id列表用“,”分隔的,如"23,435,66,6",想要搜索出分类id为6的数据,就可以这样设置字段: [cat_id] index = self tokenizer = split(,)

9.RE: small50,big161这种词汇搜索不到

更新时间:2013-06-18 11:06 t By hpxl

[php][cid] index = self tokenizer = split(,) non_bool = yes[/php] 字段设置如上,解决方法如下。 [php] foreach ($keywords as $v) { $search->addQueryTerm($field, $v); }[/php]

10.RE: 请问如何搜索字段值在一个长列表中的记录?

发布时间:2013-05-15 15:05 t By alicar

cate:1,3,5 cate分词用逗号判断split(,)

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