Class LimitTokenCountTokenFilter
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class LimitTokenCountTokenFilter : TokenFilterBase, ILimitTokenCountTokenFilter, ITokenFilter
Constructors
| Edit this page View SourceLimitTokenCountTokenFilter()
Declaration
public LimitTokenCountTokenFilter()
Properties
| Edit this page View SourceConsumeAllTokens
If set to true the filter exhaust the stream even if max_token_count tokens have been consumed already.
Declaration
public bool? ConsumeAllTokens { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MaxTokenCount
The maximum number of tokens that should be indexed per document and field.
Declaration
public int? MaxTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |