Class WhitespaceTokenizerDescriptor
A tokenizer of type whitespace that divides text at whitespace.
Inheritance
WhitespaceTokenizerDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class WhitespaceTokenizerDescriptor : TokenizerDescriptorBase<WhitespaceTokenizerDescriptor, IWhitespaceTokenizer>, IDescriptor, IWhitespaceTokenizer, ITokenizer
Properties
| Edit this page View SourceType
Declaration
protected override string Type { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
| Edit this page View SourceMaxTokenLength(int?)
The maximum token length. If a token is seen that exceeds this length then it is split at MaxTokenLength intervals. Defaults to 255.
Declaration
public WhitespaceTokenizerDescriptor MaxTokenLength(int? maxTokenLength)
Parameters
Type | Name | Description |
---|---|---|
int? | maxTokenLength |
Returns
Type | Description |
---|---|
WhitespaceTokenizerDescriptor |