开发者

change precedence in a query, 'AND' or 'OR', without ()

I'm doing a search query in the Lucene searchengine. since I'm doing this with a railo 开发者_运维技巧setup I'm having trouble with the parenthesis bug

so I can't do a query like(which I need):

"exact term here"^10 OR "less exact term"^5 OR ("loose term1" AND "loose term2" AND "loose term3")

but only like:

"exact term here"^10 OR "less exact term"^5 OR "loose term1" AND "loose term2" AND "loose term3"

But this would behave like:

("exact term here"^10 OR "less exact term"^5 OR "loose term1") AND "loose term2" AND "loose term3"

Is there a way to get around this without any parenthesis

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜