Package version:

Interface LengthTokenFilter

Removes words that are too long or too short. This token filter is implemented using Apache Lucene.

interface LengthTokenFilter {
    maxLength?: number;
    minLength?: number;
    name: string;
    odatatype: "#Microsoft.Azure.Search.LengthTokenFilter";
}

Hierarchy (view full)

Properties

maxLength?: number

The maximum length in characters. Default and maximum is 300.

minLength?: number

The minimum length in characters. Default is 0. Maximum is 300. Must be less than the value of max.

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