Interface INGramTokenFilter
A token filter of type nGram.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface INGramTokenFilter : ITokenFilter
Properties
| Edit this page View SourceMaxGram
Defaults to 2
Declaration
[DataMember(Name = "max_gram")]
int? MaxGram { get; set; }
Property Value
Type | Description |
---|---|
int? |
MinGram
Defaults to 1.
Declaration
[DataMember(Name = "min_gram")]
int? MinGram { get; set; }
Property Value
Type | Description |
---|---|
int? |
PreserveOriginal
Emits original token when set to true
. Defaults to false
.
Declaration
[DataMember(Name = "preserve_original")]
bool? PreserveOriginal { get; set; }
Property Value
Type | Description |
---|---|
bool? |