LimitTokenFilter interface
Limits the number of tokens while indexing. This token filter is implemented using Apache Lucene.
- Extends
Properties
consume |
A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false. |
max |
The maximum number of tokens to produce. Default is 1. |
odatatype | Polymorphic discriminator, which specifies the different types this object can be |
Inherited Properties
name | 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. |
Property Details
consumeAllTokens
A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false.
consumeAllTokens?: boolean
Property Value
boolean
maxTokenCount
The maximum number of tokens to produce. Default is 1.
maxTokenCount?: number
Property Value
number
odatatype
Polymorphic discriminator, which specifies the different types this object can be
odatatype: "#Microsoft.Azure.Search.LimitTokenFilter"
Property Value
"#Microsoft.Azure.Search.LimitTokenFilter"
Inherited Property Details
name
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.
name: string
Property Value
string
Inherited From BaseTokenFilter.name