Interface IEdgeNGramTokenFilter
A token filter of type edgeNGram.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IEdgeNGramTokenFilter : 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? |
Side
Either front or back. Defaults to front.
Declaration
[DataMember(Name = "side")]
EdgeNGramSide? Side { get; set; }
Property Value
Type | Description |
---|---|
EdgeNGramSide? |