tokenizer = full 就是不分词了。但不指定字段时还是会分词,除非你用 XSSearch::addQueryTerm 来构建查询
...s_name] type = title index = both [goods_sn] index = both tokenizer = full 2. 导入相关数据 require_once '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('goods'); $data = array( 'goods_id' => 112, 'goods_name' => 'hello my goodsname', 'goods_sn' => ...
http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2 上面这个下载的是1.3.0版本的,不是1.4.6版本的 需要从http://www.xunsearch.com/download/xunsearch-full/ 下载
...索和显示出来 [id] type = id [user] index = both tokenizer = full [q] index = both tokenizer = full [w] index = both tokenizer = full ~
不会啊,你搞错了吧
...ng index = both [user_id] type = numeric index = self tokenizer = full [post_time] type = numeric index = self tokenizer = full [forward] type = numeric index = self tokenizer = full [reply_num] type = numeric index = self tokenizer = full xunsearch服务器 部署...
...上面解压一下 wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2 tar -xjf xunsearch-full-latest.tar.bz2 2:登录您的FTP,下载xunsearch-full-1.4.7/packages/xunsearch-1.4.7.tar.bz2, 3:下载到你本机后,将这个压缩包解压到当前文件夹; ...
...ndex = 8383 server.search = 8384 [xsid] type = id [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 ...
... [content] type = body index = mixed [lv1] index = self tokenizer = full [lv2] index = self tokenizer = full [lv3] index = self tokenizer = full [school_id] index = self tokenizer = full [sort] type=numeric index=none [update_time] type=numeric index=none [time] t...
subject 是 FULL 的?FULL的话视为布尔字段了所以不会记录到日志中。 我建议你另外开辟一个字段,内容可以和该字段一样,但索引方式不一样来处理。有所冗余,但也是目前最简便的办法吧