Class CustomAnalyzer
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class CustomAnalyzer : AnalyzerBase, ICustomAnalyzer, IAnalyzer
Constructors
| Edit this page View SourceCustomAnalyzer()
Declaration
public CustomAnalyzer()
Properties
| Edit this page View SourceCharFilter
The logical / registered name of the tokenizer to use.
Declaration
public IEnumerable<string> CharFilter { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Filter
An optional list of logical / registered name of token filters.
Declaration
public IEnumerable<string> Filter { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
PositionIncrementGap
When indexing an array of text values, OpenSearch inserts a fake "gap" between the last term of one value and the first term of the next value to ensure that a phrase query doesn’t match two terms from different array elements. Defaults to 100.
Declaration
public int? PositionIncrementGap { get; set; }
Property Value
Type | Description |
---|---|
int? |
Tokenizer
An optional list of logical / registered name of char filters.
Declaration
public string Tokenizer { get; set; }
Property Value
Type | Description |
---|---|
string |