Interface ICustomNormalizer
Normalizers are similar to analyzers except that they may only emit a single token. As a consequence, they do not have a tokenizer and only accept a subset of the available char filters and token filters. Only the filters that work on a per-character basis are allowed. For instance a lowercasing filter would be allowed, but not a stemming filter, which needs to look at the keyword as a whole.
OpenSearch does not ship with built-in normalizers so far, so the only way to create one is through composing a custom one
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface ICustomNormalizer : INormalizer
Properties
| Edit this page View SourceCharFilter
Char filters to normalize the keyword
Declaration
[DataMember(Name = "char_filter")]
IEnumerable<string> CharFilter { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Filter
An optional list of logical / registered name of token filters.
Declaration
[DataMember(Name = "filter")]
IEnumerable<string> Filter { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |