Skip to content

Apache Lucene open-source search software

with LUCENE-1860 there is no real need for this comment - reducing to core info

Mark Robert Miller4e34506ba253
diff --git a/src/java/org/apache/lucene/search/BooleanQuery.java b/src/java/org/apache/lucene/search/BooleanQuery.java
index 6028d602847..4c2e3471a35 100644
--- a/src/java/org/apache/lucene/search/BooleanQuery.java
+++ b/src/java/org/apache/lucene/search/BooleanQuery.java
@@ -51,18 +51,9 @@ public class BooleanQuery extends Query {
*/
public static int getMaxClauseCount() { return maxClauseCount; }
- /** Set the maximum number of clauses permitted per BooleanQuery.
+ /**
+ * Set the maximum number of clauses permitted per BooleanQuery.
* Default value is 1024.
- * <p>TermQuery clauses are generated from for example prefix queries and
- * fuzzy queries. Each TermQuery needs some buffer space during search,
- * so this parameter indirectly controls the maximum buffer requirements for
- * query search.
- * <p>When this parameter becomes a bottleneck for a Query one can use a
- * Filter. For example instead of a {@link TermRangeQuery} one can use a
- * {@link TermRangeFilter}.
- * <p>Normally the buffers are allocated by the JVM. When using for example
- * {@link org.apache.lucene.store.MMapDirectory} the buffering is left to
- * the operating system.
*/
public static void setMaxClauseCount(int maxClauseCount) {
if (maxClauseCount < 1)