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

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 void SetMaxQueryTerms(
	int maxQueryTerms
)
Visual Basic
Public Sub SetMaxQueryTerms ( _
	maxQueryTerms As Integer _
)
Visual C++
public:
void SetMaxQueryTerms(
	int maxQueryTerms
)

Parameters

maxQueryTerms
Type: System..::..Int32
the maximum number of query terms that will be included in any generated query.

See Also