LimitTokenFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Limits the number of tokens while indexing. This token filter is implemented using Apache Lucene.
public class LimitTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
type LimitTokenFilter = class
inherit TokenFilter
Public Class LimitTokenFilter
Inherits TokenFilter
- Inheritance
Constructors
LimitTokenFilter(String) |
Initializes a new instance of LimitTokenFilter. |
Properties
ConsumeAllTokens |
A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false. |
MaxTokenCount |
The maximum number of tokens to produce. Default is 1. |
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. (Inherited from TokenFilter) |