public final class NGramTokenFilter extends TokenFilter
| Constructor and Description |
|---|
NGramTokenFilter(String name)
Constructor of
NGramTokenFilter. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxGram()
Get the maxGram property: The maximum n-gram length.
|
Integer |
getMinGram()
Get the minGram property: The minimum n-gram length.
|
NGramTokenFilter |
setMaxGram(Integer maxGram)
Set the maxGram property: The maximum n-gram length.
|
NGramTokenFilter |
setMinGram(Integer minGram)
Set the minGram property: The minimum n-gram length.
|
getNamepublic NGramTokenFilter(String name)
NGramTokenFilter.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 getMinGram()
public NGramTokenFilter setMinGram(Integer minGram)
minGram - the minGram value to set.public Integer getMaxGram()
public NGramTokenFilter setMaxGram(Integer maxGram)
maxGram - the maxGram value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.