public final class CommonGramTokenFilter extends TokenFilter
| Constructor and Description |
|---|
CommonGramTokenFilter() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCommonWords()
Get the commonWords property: The set of common words.
|
Boolean |
isIgnoreCase()
Get the ignoreCase property: A value indicating whether common words
matching will be case insensitive.
|
Boolean |
isUseQueryMode()
Get the useQueryMode property: A value that indicates whether the token
filter is in query mode.
|
CommonGramTokenFilter |
setCommonWords(List<String> commonWords)
Set the commonWords property: The set of common words.
|
CommonGramTokenFilter |
setIgnoreCase(Boolean ignoreCase)
Set the ignoreCase property: A value indicating whether common words
matching will be case insensitive.
|
CommonGramTokenFilter |
setUseQueryMode(Boolean useQueryMode)
Set the useQueryMode property: A value that indicates whether the token
filter is in query mode.
|
getName, setNamepublic List<String> getCommonWords()
public CommonGramTokenFilter setCommonWords(List<String> commonWords)
commonWords - the commonWords value to set.public Boolean isIgnoreCase()
public CommonGramTokenFilter setIgnoreCase(Boolean ignoreCase)
ignoreCase - the ignoreCase value to set.public Boolean isUseQueryMode()
public CommonGramTokenFilter setUseQueryMode(Boolean useQueryMode)
useQueryMode - the useQueryMode value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.