Interface ILimitTokenCountTokenFilter
Limits the number of tokens that are indexed per document and field.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface ILimitTokenCountTokenFilter : ITokenFilter
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
[DataMember(Name = "consume_all_tokens")]
bool? ConsumeAllTokens { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MaxTokenCount
The maximum number of tokens that should be indexed per document and field.
Declaration
[DataMember(Name = "max_token_count")]
int? MaxTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |