improve javadoc by mentioning Filter

PR: 32365
Submitted by: Paul Elschot


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150673 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-11-24 22:06:12 +00:00
parent 1bc761f26a
commit 918572be86
1 changed files with 12 additions and 7 deletions

View File

@ -26,13 +26,18 @@ import org.apache.lucene.index.IndexReader;
public class BooleanQuery extends Query {
/** The maximum number of clauses permitted. Default value is 1024.
* Use the <code>org.apache.lucene.maxClauseCount</code> system property to override.
* <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. 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.</p>
* Use the <code>org.apache.lucene.maxClauseCount</code> system property
* to override.
* <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 RangeQuery} one can use a
* {@link RangeFilter}.
* <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 int maxClauseCount =
Integer.parseInt(System.getProperty("org.apache.lucene.maxClauseCount",