Share via


StopwordsTokenFilter Class

Definition

Removes stop words from a token stream. This token filter is implemented using Apache Lucene.

public class StopwordsTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
type StopwordsTokenFilter = class
    inherit TokenFilter
Public Class StopwordsTokenFilter
Inherits TokenFilter
Inheritance
StopwordsTokenFilter

Constructors

StopwordsTokenFilter(String)

Initializes a new instance of StopwordsTokenFilter.

Properties

IgnoreCase

A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false.

Name

The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

(Inherited from TokenFilter)
RemoveTrailingStopWords

A value indicating whether to ignore the last search term if it's a stop word. Default is true.

Stopwords

The list of stopwords. This property and the stopwords list property cannot both be set.

StopwordsList

A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English.

Applies to