[lucene] lucene查询不合理或者难以理解的问题

centerqi 2010-12-09
content:( 你 + 的 + 来 )   AND type:( "wiki"  OR rss  )
这个查询我怎么理解也想不对会有这样的结果,哈哈

因为“你,的,来”这是stopwords,在单独搜索content:(你 + 的 + 来 )的查询结果为空

但是用如下语句查询时content:( 你 + 的 + 来 )   AND type:( "wiki"  OR rss  )
把所有属于wiki rss的内容都全部查出来了,不知道各位有没有遇到这种情况。
还有怎么处理用户搜索stopwords这一情况呢?
Global site tag (gtag.js) - Google Analytics