Search Results for

    Show / Hide Table of Contents

    Class CommonGramsTokenFilter

    Inheritance
    object
    TokenFilterBase
    CommonGramsTokenFilter
    Implements
    ICommonGramsTokenFilter
    ITokenFilter
    Inherited Members
    TokenFilterBase.Type
    TokenFilterBase.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 CommonGramsTokenFilter : TokenFilterBase, ICommonGramsTokenFilter, ITokenFilter

    Constructors

    | Edit this page View Source

    CommonGramsTokenFilter()

    Declaration
    public CommonGramsTokenFilter()

    Properties

    | Edit this page View Source

    CommonWords

    A list of common words to use.

    Declaration
    public 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
    public 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
    public 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
    public bool? QueryMode { get; set; }
    Property Value
    Type Description
    bool?

    Implements

    ICommonGramsTokenFilter
    ITokenFilter

    Extension Methods

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