public final class ClassicTokenizer extends LexicalTokenizer
Constructor and Description |
---|
ClassicTokenizer(String name)
Constructor of
ClassicTokenizer . |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxTokenLength()
Get the maxTokenLength property: The maximum token length.
|
ClassicTokenizer |
setMaxTokenLength(Integer maxTokenLength)
Set the maxTokenLength property: The maximum token length.
|
getName
public ClassicTokenizer(String name)
ClassicTokenizer
.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.public Integer getMaxTokenLength()
public ClassicTokenizer setMaxTokenLength(Integer maxTokenLength)
maxTokenLength
- the maxTokenLength value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.