Package version:

A token filter that only keeps tokens with text contained in a specified list of words. This token filter is implemented using Apache Lucene.

interface KeepTokenFilter {
    keepWords: string[];
    lowerCaseKeepWords?: boolean;
    name: string;
    odatatype: "#Microsoft.Azure.Search.KeepTokenFilter";
}

Hierarchy (view full)

Properties

keepWords: string[]

The list of words to keep.

lowerCaseKeepWords?: boolean

A value indicating whether to lower case all words 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