0

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"

括弧なしでこれを回避する方法はありますか

4

0 に答える 0