diff --git a/src/java/org/apache/lucene/search/BooleanQuery.java b/src/java/org/apache/lucene/search/BooleanQuery.java index 17ee5c53db8..654e5f2e386 100644 --- a/src/java/org/apache/lucene/search/BooleanQuery.java +++ b/src/java/org/apache/lucene/search/BooleanQuery.java @@ -53,19 +53,20 @@ public class BooleanQuery extends Query { public BooleanQuery() {} /** Adds a clause to a boolean query. Clauses may be: -
required
which means that documents which do not
- match this sub-query will not match the boolean query;
- prohibited
which means that documents which do
- match this sub-query will not match the boolean query; or
- required
and
- prohibited
.
- *
- * @see #getMaxClauseCount()
- */
+ * required
which means that documents which do not
+ * match this sub-query will not match the boolean query;
+ * prohibited
which means that documents which do
+ * match this sub-query will not match the boolean query; or
+ * required
and
+ * prohibited
.
+ *
+ * @see #getMaxClauseCount()
+ */
public void add(Query query, boolean required, boolean prohibited) {
add(new BooleanClause(query, required, prohibited));
}