public final class PatternReplaceTokenFilter extends TokenFilter
Constructor and Description |
---|
PatternReplaceTokenFilter(String name,
String pattern,
String replacement)
Constructor of
PatternReplaceTokenFilter . |
Modifier and Type | Method and Description |
---|---|
String |
getPattern()
Get the pattern property: A regular expression pattern.
|
String |
getReplacement()
Get the replacement property: The replacement text.
|
getName
public PatternReplaceTokenFilter(String name, String pattern, String replacement)
PatternReplaceTokenFilter
.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.pattern
- A regular expression pattern.replacement
- The replacement text.Copyright © 2021 Microsoft Corporation. All rights reserved.