开发者

PhraseQuery: can Lucene skip words from Query (not exact search) if nothing found

Suppose I'm making request [hibernate-search] lucene phrase. The are 2 docs that satisfy exact phrase, but there are a lot of docs with [hibernate-search] lucene. How should I开发者_运维知识库 construct a query to display exact docs first and then docs without single word ([hibernate-search] phrase)?


Just OR them: "my phrase" my phrase.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜