搜索

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

1.split无效

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

...是我字段内容 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

...是我字段内容 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) AND...

5.配置文件的困惑

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

tokenizer 分词器 默认为 default 采用内置的功能强大的 scws 分词,适合绝大多数字符串字段。也可以指定自定义分词器,格式为 name 或 name(arg) 两种形式,其中 name 是分词器名称,arg 则是传递给分词器构造函数的参数。自定义分词...

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

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

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

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

8.不等于或大于小于的问题

发布时间:2013-12-17 20:12 t By skybaby

...值的数据。 比如我有个字段是。 [specialcid] index = self tokenizer = split(,) 里面的内容是:45668,98644,110134,214567 有没有什么方法构造搜索语句是不等于这个字段的值,比如我想检索出来的数据在specialcid字段中不包含98644这个值的。...

9.RE: 按字段搜索排序

更新时间:2013-06-07 14:06 t By hpxl

ini设置 [php] [example_attr] index = self tokenizer = split(,) non_bool = yes[/php] XS版本 xs-indexd: xunsearch/1.4.7-dev (index server) 查询结果没有任何变化,结果如下: [php]example_attr:jianyue,baise 45 ... jianyue,baise,qianhuang 207 ... zhongshi,hongse,baise 3...

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

发布时间:2013-05-12 17:05 t By hq22

...d为6的数据,就可以这样设置字段: [cat_id] index = self tokenizer = split(,) [/quote] 这个功能真的非常好,解决了数据库一对多表问题。可以在一个表里加一个字段就可以了。

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