lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search BooleanQuery.java
Date Thu, 18 Mar 2004 19:53:37 GMT
otis        2004/03/18 11:53:37

  Modified:    src/java/org/apache/lucene/search BooleanQuery.java
  Log:
  - Changed a property from private to public and added Javadocs
  
  Revision  Changes    Path
  1.21      +6 -1      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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- BooleanQuery.java	18 Mar 2004 19:05:18 -0000	1.20
  +++ BooleanQuery.java	18 Mar 2004 19:53:37 -0000	1.21
  @@ -62,7 +62,12 @@
     queries, typically {@link TermQuery}s or {@link PhraseQuery}s.
     */
   public class BooleanQuery extends Query {
  -  private static int maxClauseCount =
  +
  +  /**
  +   * Default value is 1024.  Use <code>org.apache.lucene.maxClauseCount</code>
  +   * system property to override.
  +   */
  +  public static int maxClauseCount =
       Integer.parseInt(System.getProperty("org.apache.lucene.maxClauseCount",
         "1024"));
   
  
  
  

---------------------------------------------------------------------
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