Package version:

Interface TruncateTokenFilter

Truncates the terms to a specific length. This token filter is implemented using Apache Lucene.

interface TruncateTokenFilter {
    length?: number;
    name: string;
    odatatype: "#Microsoft.Azure.Search.TruncateTokenFilter";
}

Hierarchy (view full)

Properties

length?: number

The length at which terms will be truncated. Default and maximum is 300.

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