tokenizer = full 就是不分词了。但不指定字段时还是会分词,除非你用 XSSearch::addQueryTerm 来构建查询
... self [goods_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', 'g...
...不可以搜索和显示出来 [id] type = id [user] index = both tokenizer = full [q] index = both tokenizer = full [w] index = both tokenizer = full ~
... type = string 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服务...
...-8 server.index = 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...
...ndex=both [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 ...
...ct ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 ) [title] => XSFieldMeta Object ( [name] => title [cutlen] => 0 [weight] => 5 [type] => 11 [vno] => 1 [tokenizer:private] => 0 [flag:private] => 19 ) ) [_typeMap:private] => Arra...
... [pid] type = id index = none tokenizer = none [uid] type = string tokenizer = full index = self weight = 5 [tag] type = title [chrono] type = n...
...x = 8383 server.search = 8384 [pid] type = id [fid] index = self tokenizer = full [tid] [first] index = self tokenizer = full [author] index = both [authorid] [subject] type = title [message] type = body [dateline] type = numeric
...earch = 8384 [pid] type = id [catid] type = numeric index = both tokenizer = full [subject] type = title [message] type = body [url] index = self tokenizer = full [chrono] type = numeric