public final class StopwordsTokenFilter extends TokenFilter
Constructor and Description |
---|
StopwordsTokenFilter() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getStopwords()
Get the stopwords property: The list of stopwords.
|
StopwordsList |
getStopwordsList()
Get the stopwordsList property: A predefined list of stopwords to use.
|
Boolean |
isIgnoreCase()
Get the ignoreCase property: A value indicating whether to ignore case.
|
Boolean |
isRemoveTrailingStopWords()
Get the removeTrailingStopWords property: A value indicating whether to
ignore the last search term if it's a stop word.
|
StopwordsTokenFilter |
setIgnoreCase(Boolean ignoreCase)
Set the ignoreCase property: A value indicating whether to ignore case.
|
StopwordsTokenFilter |
setRemoveTrailingStopWords(Boolean removeTrailingStopWords)
Set the removeTrailingStopWords property: A value indicating whether to
ignore the last search term if it's a stop word.
|
StopwordsTokenFilter |
setStopwords(List<String> stopwords)
Set the stopwords property: The list of stopwords.
|
StopwordsTokenFilter |
setStopwordsList(StopwordsList stopwordsList)
Set the stopwordsList property: A predefined list of stopwords to use.
|
getName, setName
public List<String> getStopwords()
public StopwordsTokenFilter setStopwords(List<String> stopwords)
stopwords
- the stopwords value to set.public StopwordsList getStopwordsList()
public StopwordsTokenFilter setStopwordsList(StopwordsList stopwordsList)
stopwordsList
- the stopwordsList value to set.public Boolean isIgnoreCase()
public StopwordsTokenFilter setIgnoreCase(Boolean ignoreCase)
ignoreCase
- the ignoreCase value to set.public Boolean isRemoveTrailingStopWords()
public StopwordsTokenFilter setRemoveTrailingStopWords(Boolean removeTrailingStopWords)
removeTrailingStopWords
- the removeTrailingStopWords value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.