Package version:

Interface StopwordsTokenFilter

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

interface StopwordsTokenFilter {
    ignoreCase?: boolean;
    name: string;
    odatatype: "#Microsoft.Azure.Search.StopwordsTokenFilter";
    removeTrailingStopWords?: boolean;
    stopwords?: string[];
    stopwordsList?: StopwordsList;
}

Hierarchy (view full)

Properties

ignoreCase?: boolean

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

name: string

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.

odatatype

Polymorphic discriminator, which specifies the different types this object can be

removeTrailingStopWords?: boolean

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

stopwords?: string[]

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

stopwordsList?: StopwordsList

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