Class EdgeNGramTokenFilter
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class EdgeNGramTokenFilter : TokenFilterBase, IEdgeNGramTokenFilter, ITokenFilter
Constructors
| Edit this page View SourceEdgeNGramTokenFilter()
Declaration
public EdgeNGramTokenFilter()
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? |
Side
Either front or back. Defaults to front.
Declaration
public EdgeNGramSide? Side { get; set; }
Property Value
Type | Description |
---|---|
EdgeNGramSide? |