Returns the maximum number of query terms that will be included in any generated query. The default is {@link #DEFAULT_MAX_QUERY_TERMS}.

Namespace: Lucene.Net.Search.Similar
Assembly: Lucene.Net.Contrib.Queries (in Lucene.Net.Contrib.Queries.dll) Version: 2.9.2.0 (2.9.2)

Syntax

C#
public int GetMaxQueryTerms()
Visual Basic
Public Function GetMaxQueryTerms As Integer
Visual C++
public:
int GetMaxQueryTerms()

Return Value

the maximum number of query terms that will be included in any generated query.

See Also