Class NGramTokenFilter
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class NGramTokenFilter : TokenFilterBase, INGramTokenFilter, ITokenFilter
Constructors
| Edit this page View SourceNGramTokenFilter()
Declaration
public NGramTokenFilter()
Properties
| Edit this page View SourceMaxGram
Defaults to 2
Declaration
public int? MaxGram { get; set; }
Property Value
Type | Description |
---|---|
int? |
MinGram
Defaults to 1.
Declaration
public int? MinGram { get; set; }
Property Value
Type | Description |
---|---|
int? |
PreserveOriginal
Emits original token when set to true
. Defaults to false
.
Declaration
public bool? PreserveOriginal { get; set; }
Property Value
Type | Description |
---|---|
bool? |