我正在 Lucene 搜索引擎中进行搜索查询。因为我正在使用 railo 设置来执行此操作,所以我遇到了括号错误
所以我不能做一个像(我需要的)这样的查询:
"exact term here"^10 OR "less exact term"^5 OR ("loose term1" AND "loose term2" AND "loose term3")
但只喜欢:
"exact term here"^10 OR "less exact term"^5 OR "loose term1" AND "loose term2" AND "loose term3"
但这会表现得像:
("exact term here"^10 OR "less exact term"^5 OR "loose term1") AND "loose term2" AND "loose term3"
有没有办法在没有任何括号的情况下解决这个问题