Apache Lucene.Net 2.4.0 Class Library API

BooleanQuery.GetMaxClauseCount Method 

Return the maximum number of clauses permitted, 1024 by default. Attempts to add more than the permitted number of clauses cause {@link TooManyClauses} to be thrown.

public static int GetMaxClauseCount();

See Also

BooleanQuery Class | Lucene.Net.Search Namespace | #SetMaxClauseCount