Package org.apache.lucene.queryParser.precedence

This package contains the Precedence Query Parser Implementation Lucene Precedence Query Parser The Precedence Query Parser extends the Standard Query Parser and enables the boolean precedence.

See: Description

Package org.apache.lucene.queryParser.precedence Description

This package contains the Precedence Query Parser Implementation

Lucene Precedence Query Parser

The Precedence Query Parser extends the Standard Query Parser and enables the boolean precedence. So, the query <a AND b OR c AND d> is parsed to <(+a +b) (+c +d)> instead of <+a +b +c +d>.

Check StandardQueryParser for more details about the supported syntax and query parser functionalities.