diff --git a/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/precedence/package.html b/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/precedence/package.html index f1835ec77a2..784aa6cc86f 100644 --- a/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/precedence/package.html +++ b/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/precedence/package.html @@ -27,8 +27,8 @@ Precedence Query Parser Implementation

The Precedence Query Parser extends the Standard Query Parser and enables -the boolean precedence. So, the query is parsed to -<(+a +b) (+c +d)> instead of <+a +b +c +d>. +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 {@link org.apache.lucene.queryparser.flexible.standard.StandardQueryParser} for more details about the