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

Namespace: Similarity.Net
Assembly: Lucene.Net.Contrib.Similarity (in Lucene.Net.Contrib.Similarity.dll) Version: 2.0.0.1

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