public final class KeywordMarkerTokenFilter extends TokenFilter
Constructor and Description |
---|
KeywordMarkerTokenFilter(String name,
List<String> keywords)
Constructor of
KeywordMarkerTokenFilter . |
Modifier and Type | Method and Description |
---|---|
List<String> |
getKeywords()
Get the keywords property: A list of words to mark as keywords.
|
Boolean |
isCaseIgnored()
Get the ignoreCase property: A value indicating whether to ignore case.
|
KeywordMarkerTokenFilter |
setCaseIgnored(Boolean caseIgnored)
Set the ignoreCase property: A value indicating whether to ignore case.
|
getName
public KeywordMarkerTokenFilter(String name, List<String> keywords)
KeywordMarkerTokenFilter
.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.keywords
- A list of words to mark as keywords.public List<String> getKeywords()
public Boolean isCaseIgnored()
public KeywordMarkerTokenFilter setCaseIgnored(Boolean caseIgnored)
caseIgnored
- the ignoreCase value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.