Search Results for

    Show / Hide Table of Contents

    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

    Inherited Members
    INormalizer.Type
    INormalizer.Version
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ICustomNormalizer : INormalizer

    Properties

    | Edit this page View Source

    CharFilter

    Char filters to normalize the keyword

    Declaration
    [DataMember(Name = "char_filter")]
    IEnumerable<string> CharFilter { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    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>

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • CharFilter
      • Filter
    • Extension Methods
    Back to top Generated by DocFX