Search Results for

    Show / Hide Table of Contents

    Interface ICommonGramsTokenFilter

    Token filter that generates bigrams for frequently occuring terms. Single terms are still indexed.

    Note, common_words or common_words_path field is required.

    Inherited Members
    ITokenFilter.Type
    ITokenFilter.Version
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ICommonGramsTokenFilter : ITokenFilter

    Properties

    | Edit this page View Source

    CommonWords

    A list of common words to use.

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

    CommonWordsPath

    A path (either relative to config location, or absolute) to a list of common words.

    Declaration
    [DataMember(Name = "common_words_path")]
    string CommonWordsPath { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IgnoreCase

    If true, common words matching will be case insensitive.

    Declaration
    [DataMember(Name = "ignore_case")]
    bool? IgnoreCase { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    QueryMode

    Generates bigrams then removes common words and single terms followed by a common word.

    Declaration
    [DataMember(Name = "query_mode")]
    bool? QueryMode { get; set; }
    Property Value
    Type Description
    bool?

    Extension Methods

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