Package org.opensearch.analysis.common
Class PatternReplaceCharFilterFactory
- java.lang.Object
-
- org.opensearch.index.AbstractIndexComponent
-
- org.opensearch.index.analysis.AbstractCharFilterFactory
-
- org.opensearch.analysis.common.PatternReplaceCharFilterFactory
-
- All Implemented Interfaces:
CharFilterFactory,NormalizingCharFilterFactory,IndexComponent
public class PatternReplaceCharFilterFactory extends AbstractCharFilterFactory implements NormalizingCharFilterFactory
-
-
Field Summary
-
Fields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Readercreate(java.io.Reader tokenStream)java.util.regex.PatterngetPattern()java.lang.StringgetReplacement()-
Methods inherited from class org.opensearch.index.analysis.AbstractCharFilterFactory
name
-
Methods inherited from class org.opensearch.index.AbstractIndexComponent
getIndexSettings, index
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.index.analysis.CharFilterFactory
name
-
Methods inherited from interface org.opensearch.index.analysis.NormalizingCharFilterFactory
normalize
-
-
-
-
Method Detail
-
getPattern
public java.util.regex.Pattern getPattern()
-
getReplacement
public java.lang.String getReplacement()
-
create
public java.io.Reader create(java.io.Reader tokenStream)
- Specified by:
createin interfaceCharFilterFactory
-
-