Package version:

Interface LimitTokenFilter

Limits the number of tokens while indexing. This token filter is implemented using Apache Lucene.

interface LimitTokenFilter {
    consumeAllTokens?: boolean;
    maxTokenCount?: number;
    name: string;
    odatatype: "#Microsoft.Azure.Search.LimitTokenFilter";
}

Hierarchy (view full)

Properties

consumeAllTokens?: boolean

A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false.

maxTokenCount?: number

The maximum number of tokens to produce. Default is 1.

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