Class NGramTokenFilterDescriptor
Inheritance
NGramTokenFilterDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class NGramTokenFilterDescriptor : TokenFilterDescriptorBase<NGramTokenFilterDescriptor, INGramTokenFilter>, IDescriptor, INGramTokenFilter, ITokenFilter
Properties
|
Edit this page
View Source
Type
Declaration
protected override string Type { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
MaxGram(int?)
Declaration
public NGramTokenFilterDescriptor MaxGram(int? maxGram)
Parameters
Type |
Name |
Description |
int? |
maxGram |
|
Returns
|
Edit this page
View Source
MinGram(int?)
Declaration
public NGramTokenFilterDescriptor MinGram(int? minGram)
Parameters
Type |
Name |
Description |
int? |
minGram |
|
Returns
|
Edit this page
View Source
PreserveOriginal(bool?)
Emits original token when set to true
. Defaults to false
.
Declaration
public NGramTokenFilterDescriptor PreserveOriginal(bool? preserveOriginal = true)
Parameters
Type |
Name |
Description |
bool? |
preserveOriginal |
|
Returns
Implements
Extension Methods