Search Results for

    Show / Hide Table of Contents

    Class EdgeNGramTokenizer

    Inheritance
    object
    TokenizerBase
    EdgeNGramTokenizer
    Implements
    IEdgeNGramTokenizer
    ITokenizer
    Inherited Members
    TokenizerBase.Type
    TokenizerBase.Version
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class EdgeNGramTokenizer : TokenizerBase, IEdgeNGramTokenizer, ITokenizer

    Constructors

    | Edit this page View Source

    EdgeNGramTokenizer()

    Declaration
    public EdgeNGramTokenizer()

    Properties

    | Edit this page View Source

    CustomTokenChars

    Custom characters that should be treated as part of a token. For example, setting this to +-_ will make the tokenizer treat the plus, minus and underscore sign as part of a token.

    Requires setting Custom as part of TokenChars
    Declaration
    public string CustomTokenChars { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MaxGram

    Maximum size in codepoints of a single n-gram

    Declaration
    public int? MaxGram { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    MinGram

    Minimum size in codepoints of a single n-gram

    Declaration
    public int? MinGram { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    TokenChars

    Characters classes to keep in the tokens, OpenSearch will split on characters that don’t belong to any of these classes.

    Declaration
    public IEnumerable<TokenChar> TokenChars { get; set; }
    Property Value
    Type Description
    IEnumerable<TokenChar>

    Implements

    IEdgeNGramTokenizer
    ITokenizer

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • EdgeNGramTokenizer()
    • Properties
      • CustomTokenChars
      • MaxGram
      • MinGram
      • TokenChars
    • Implements
    • Extension Methods
    Back to top Generated by DocFX