字段设计有点问题。当type为string,没有指明index索引方式是是不分词的。 [title] type=string index=both 和 [title] type=title 这两个字段设计效果一样。同样content,类型也有问题,可以这样 [content] type=body 或者 [content] type=string index=mixed 具...
...t = utf-8 server.index = 8383 server.search = 8384 [ID] // 文章ID type = id phrase = yes [author] //作者 index = self [post_content] //内容 type = body [post_content_full] //全部内容 cutlen = 300 //显示300个字节 [post_title] //标题 type = title [post_...
...fault_charset = GBK ;server.index = 8383 ;server.search = 8384 [pid] type = id [subject] type = title [message] type = body [dateline] type = numeric [author] index = both [authorid] [tid] index = self tokenizer = full [fid] index = self tokenizer = full [flag] ...
addWeight('title', $skey) 作何解释?addWeight 是只针对一个词的。 此外 $skey 发果是关键字你就用 setQuery($skey . " type:1") 这样啊,详见: http://www.xunsearch.com/doc/php/guide/search.query
...个均无法获取到结果,返回的均是array() 请问hotquery按照type=total是不是只要搜索1次就会有结果?还是这个统计结果是有阀值的,例如搜索50次才会返回结果?任何词达不到这个值均不返回结果? 我测试搜索了很多词语,但是没...
...ake the game more enjoyable and safer for many fans, and there are certain types of earplugs that provide a quieter level of sound without distorting it, she adds... [url=http://www.gfwcseminolejuniors.org/jordansshoesforwomen.htm]jordans shoes for women[/url] Saving your voice -- The same loud che...
... 那也是一个合法的字段,字段选项包括以下几种: #### type 字段类型 - string 字符型,适用多数情况,也是默认值 - numeric 数值型,包含整型和浮点数,仅当字段需用于以排序或区间检索时才设为该类型,否则请使用 str...