lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search BooleanQuery.java
Date Wed, 24 Nov 2004 22:06:12 GMT
dnaber      2004/11/24 14:06:12

  Modified:    src/java/org/apache/lucene/search BooleanQuery.java
  Log:
  improve javadoc by mentioning Filter
  PR: 32365
  Submitted by: Paul Elschot
  
  Revision  Changes    Path
  1.27      +12 -7     jakarta-lucene/src/java/org/apache/lucene/search/BooleanQuery.java
  
  Index: BooleanQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/BooleanQuery.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- BooleanQuery.java	19 Oct 2004 19:51:35 -0000	1.26
  +++ BooleanQuery.java	24 Nov 2004 22:06:12 -0000	1.27
  @@ -26,13 +26,18 @@
   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",
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message