Thrown when an attempt is made to add more than {@link #GetMaxClauseCount()} clauses. This typically happens if a PrefixQuery, FuzzyQuery, WildcardQuery, or TermRangeQuery is expanded to many terms during search.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public class TooManyClauses : SystemException
Visual Basic
<SerializableAttribute> _
Public Class TooManyClauses _
	Inherits SystemException
Visual C++
[SerializableAttribute]
public ref class TooManyClauses : public SystemException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..SystemException
      Lucene.Net.Search..::..BooleanQuery..::..TooManyClauses

See Also