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
精彩评论