public final class LuceneStandardAnalyzer extends LexicalAnalyzer
Constructor and Description |
---|
LuceneStandardAnalyzer(String name)
Creates an instance of LuceneStandardAnalyzer class.
|
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.
|
getName
public LuceneStandardAnalyzer(String name)
name
- the name value to set.public Integer getMaxTokenLength()
public LuceneStandardAnalyzer setMaxTokenLength(Integer maxTokenLength)
maxTokenLength
- the maxTokenLength value to set.public List<String> getStopwords()
public LuceneStandardAnalyzer setStopwords(List<String> stopwords)
stopwords
- the stopwords value to set.public LuceneStandardAnalyzer setStopwords(String... stopwords)
stopwords
- the stopwords value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.