diff --git a/src/java/org/apache/lucene/queryParser/QueryParser.java b/src/java/org/apache/lucene/queryParser/QueryParser.java index ba7c23456e6..f734450e351 100644 --- a/src/java/org/apache/lucene/queryParser/QueryParser.java +++ b/src/java/org/apache/lucene/queryParser/QueryParser.java @@ -142,7 +142,7 @@ public class QueryParser implements QueryParserConstants { /** * Gets implicit operator setting, which will be either DEFAULT_OPERATOR_AND - * or DEFAULT_OPERATOR_AND. + * or DEFAULT_OPERATOR_OR. */ public int getOperator() { return operator; diff --git a/src/java/org/apache/lucene/queryParser/QueryParser.jj b/src/java/org/apache/lucene/queryParser/QueryParser.jj index b7ca38ece47..2320e8dfb2e 100644 --- a/src/java/org/apache/lucene/queryParser/QueryParser.jj +++ b/src/java/org/apache/lucene/queryParser/QueryParser.jj @@ -204,7 +204,7 @@ public class QueryParser { /** * Gets implicit operator setting, which will be either DEFAULT_OPERATOR_AND - * or DEFAULT_OPERATOR_AND. + * or DEFAULT_OPERATOR_OR. */ public int getOperator() { return operator;