public final class TruncateTokenFilter extends TokenFilter
| Constructor and Description |
|---|
TruncateTokenFilter(String name)
Constructor of
TruncateTokenFilter. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getLength()
Get the length property: The length at which terms will be truncated.
|
TruncateTokenFilter |
setLength(Integer length)
Set the length property: The length at which terms will be truncated.
|
getNamepublic TruncateTokenFilter(String name)
TruncateTokenFilter.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 getLength()
public TruncateTokenFilter setLength(Integer length)
length - the length value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.