public final class KeywordTokenizer extends LexicalTokenizer
Constructor and Description |
---|
KeywordTokenizer(String name)
Constructor of
KeywordTokenizer . |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxTokenLength()
Get the maxTokenLength property: The maximum token length.
|
KeywordTokenizer |
setMaxTokenLength(Integer maxTokenLength)
Set the maxTokenLength property: The maximum token length.
|
getName
public KeywordTokenizer(String name)
KeywordTokenizer
.name
- The name of the tokenizer. It must only contain letters, digits, spaces,
dashes or underscores, can only start and end with alphanumeric
characters, and is limited to 128 characters.public Integer getMaxTokenLength()
public KeywordTokenizer setMaxTokenLength(Integer maxTokenLength)
maxTokenLength
- the maxTokenLength value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.