Class TermVectorFilterDescriptor
Filter terms returned based on their TF-IDF scores.
This can be useful in order find out a good characteristic vector of a document.
Inheritance
TermVectorFilterDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class TermVectorFilterDescriptor : DescriptorBase<TermVectorFilterDescriptor, ITermVectorFilter>, IDescriptor, ITermVectorFilter
Methods
|
Edit this page
View Source
MaximimumNumberOfTerms(int?)
Maximum number of terms that must be returned per field. Defaults to 25.
Declaration
public TermVectorFilterDescriptor MaximimumNumberOfTerms(int? maxNumTerms)
Parameters
Type |
Name |
Description |
int? |
maxNumTerms |
|
Returns
|
Edit this page
View Source
MaximumDocumentFrequency(int?)
Ignore words which occur in more than this many docs. Defaults to unbounded.
Declaration
public TermVectorFilterDescriptor MaximumDocumentFrequency(int? maxDocFreq)
Parameters
Type |
Name |
Description |
int? |
maxDocFreq |
|
Returns
|
Edit this page
View Source
MaximumTermFrequency(int?)
Ignore words with more than this frequency in the source doc. Defaults to unbounded.
Declaration
public TermVectorFilterDescriptor MaximumTermFrequency(int? maxTermFreq)
Parameters
Type |
Name |
Description |
int? |
maxTermFreq |
|
Returns
|
Edit this page
View Source
MaximumWordLength(int?)
The maximum word length above which words will be ignored. Defaults to unbounded.
Declaration
public TermVectorFilterDescriptor MaximumWordLength(int? maxWordLength)
Parameters
Type |
Name |
Description |
int? |
maxWordLength |
|
Returns
|
Edit this page
View Source
MinimumDocumentFrequency(int?)
Ignore terms which do not occur in at least this many docs. Defaults to 1.
Declaration
public TermVectorFilterDescriptor MinimumDocumentFrequency(int? minDocFreq)
Parameters
Type |
Name |
Description |
int? |
minDocFreq |
|
Returns
|
Edit this page
View Source
MinimumTermFrequency(int?)
Ignore words with less than this frequency in the source doc. Defaults to 1.
Declaration
public TermVectorFilterDescriptor MinimumTermFrequency(int? minTermFreq)
Parameters
Type |
Name |
Description |
int? |
minTermFreq |
|
Returns
|
Edit this page
View Source
MinimumWordLength(int?)
The minimum word length below which words will be ignored. Defaults to 0.
Declaration
public TermVectorFilterDescriptor MinimumWordLength(int? minWordLength)
Parameters
Type |
Name |
Description |
int? |
minWordLength |
|
Returns
Implements
Extension Methods