public final class LuceneStandardAnalyzer extends LexicalAnalyzer
| Constructor and Description |
|---|
LuceneStandardAnalyzer(String name)
Constructor of
LuceneStandardAnalyzer. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxTokenLength()
Get the maxTokenLength property: The maximum token length.
|
List<String> |
getStopwords()
Get the stopwords property: A list of stopwords.
|
LuceneStandardAnalyzer |
setMaxTokenLength(Integer maxTokenLength)
Set the maxTokenLength property: The maximum token length.
|
LuceneStandardAnalyzer |
setStopwords(List<String> stopwords)
Set the stopwords property: A list of stopwords.
|
LuceneStandardAnalyzer |
setStopwords(String... stopwords)
Set the stopwords property: A list of stopwords.
|
getNamepublic LuceneStandardAnalyzer(String name)
LuceneStandardAnalyzer.name - The name of the analyzer. 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 LuceneStandardAnalyzer setMaxTokenLength(Integer maxTokenLength)
maxTokenLength - the maxTokenLength value to set.public List<String> getStopwords()
public LuceneStandardAnalyzer setStopwords(String... stopwords)
stopwords - the stopwords value to set.public LuceneStandardAnalyzer setStopwords(List<String> stopwords)
stopwords - the stopwords value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.