public final class LengthTokenFilter extends TokenFilter
| Constructor and Description |
|---|
LengthTokenFilter(String name)
Constructor of
LengthTokenFilter. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxLength()
Get the maxLength property: The maximum length in characters.
|
Integer |
getMinLength()
Get the minLength property: The minimum length in characters.
|
LengthTokenFilter |
setMaxLength(Integer maxLength)
Set the maxLength property: The maximum length in characters.
|
LengthTokenFilter |
setMinLength(Integer minLength)
Set the minLength property: The minimum length in characters.
|
getNamepublic LengthTokenFilter(String name)
LengthTokenFilter.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 getMinLength()
public LengthTokenFilter setMinLength(Integer minLength)
minLength - the minLength value to set.public Integer getMaxLength()
public LengthTokenFilter setMaxLength(Integer maxLength)
maxLength - the maxLength value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.