Sets the maximum number of query terms that will be included in any generated query.
Namespace: Similarity.NetAssembly: Lucene.Net.Contrib.Similarity (in Lucene.Net.Contrib.Similarity.dll) Version: 2.0.0.1
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