...ty:31 AND tag_id:1300 , 开启模糊搜索 setFuzzy(),是指针对 type= title 单字段搜索 还是所有条件都模糊搜啊? 一般搜索标题类型都是 type= title ,比如我要搜 '宠' 能搜到 宠物店 宠美容 但是没有 宠寄养世界 , 再搜 ...
[quote='hpxl' pid='7811' dateline='1400033006'] sdk/php/app/demo.ini配置 [id] type = id [/quote] 是scws-1.2.2 的如何让它支持自已定义的英文词库? 像http://bbs.xunsearch.com/showthread.php?tid=3088 这样修改代码吗?
你楼上的配置文件 type=id 不应该再指定 index = none啊,ID就包含了索引了,不要冲突
...fault_charset = utf-8 server.index = 8383 server.search = 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
...project.charset = GBK server.index = 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
...index = 192.168.171.22:8383 server.search = 192.168.171.22:8384 [pid] type = id [itemid] [title] index = mixed [content] type=body cutlen=600 [categoryid] index = self [category] index=none [searchcount] index=none [createtime] index=none 谢谢了
...ry 的值看看实际检索条件 [/quote] 按照你说的 [user_id] type = numeric index = none tokenizer = full $xs = new XS('entry'); $search = $xs->getSearch(); $search->setCharset('utf8'); $search->addRange('user_id',1,20000)->setLimit($page_num,($page-1)*$page_num)->setSort('...
...sid] => XSFieldMeta Object ( [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 ) ) [_...
[code] project.name = 59n [bid] type = id [title] index = mixed weight = 5 [bc] index = mixed [cc] index = mixed [addtime] type = date tokenizer = none [/code] [php] ./Indexer.php --source=mysql://root:root@localhost/blog --sql="select b.bid,b.content AS bc,b.addtime,b.titl...
http://www.xunsearch.com/site/search?q=Missing+field+of+type+ID