Search Results for

    Show / Hide Table of Contents

    Class StopTokenFilter

    Inheritance
    object
    TokenFilterBase
    StopTokenFilter
    Implements
    IStopTokenFilter
    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 StopTokenFilter : TokenFilterBase, IStopTokenFilter, ITokenFilter

    Constructors

    | Edit this page View Source

    StopTokenFilter()

    Declaration
    public StopTokenFilter()

    Properties

    | Edit this page View Source

    IgnoreCase

    Set to true to lower case all words first. Defaults to false.

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

    RemoveTrailing

    Set to false in order to not ignore the last term of a search if it is a stop word. This is very useful for the completion suggester as a query like green a can be extended to green apple even though you remove stop words in general. Defaults to true.

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

    StopWords

    A list of stop words to use. Defaults to _english_ stop words.

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

    StopWordsPath

    A path (either relative to config location, or absolute) to a stopwords file configuration. Each stop word should be in its own "line" (separated by a line break). The file must be UTF-8 encoded.

    Declaration
    public string StopWordsPath { get; set; }
    Property Value
    Type Description
    string

    Implements

    IStopTokenFilter
    ITokenFilter

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • StopTokenFilter()
    • Properties
      • IgnoreCase
      • RemoveTrailing
      • StopWords
      • StopWordsPath
    • Implements
    • Extension Methods
    Back to top Generated by DocFX