- Changed a property from private to public and added Javadocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2004-03-18 19:53:37 +00:00
parent e5c04869d2
commit 424291226d
1 changed files with 6 additions and 1 deletions

View File

@ -62,7 +62,12 @@ import org.apache.lucene.index.IndexReader;
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"));