public class PatternReplaceCharFilterFactory extends AbstractCharFilterFactory implements MultiTermAwareComponent
deprecationLogger, indexSettings, logger
Constructor and Description |
---|
PatternReplaceCharFilterFactory(IndexSettings indexSettings,
Environment env,
java.lang.String name,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
create(java.io.Reader tokenStream) |
java.lang.Object |
getMultiTermComponent()
Returns an analysis component to handle analysis if multi-term queries.
|
java.util.regex.Pattern |
getPattern() |
java.lang.String |
getReplacement() |
name
getIndexSettings, index
public PatternReplaceCharFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
public java.util.regex.Pattern getPattern()
public java.lang.String getReplacement()
public java.io.Reader create(java.io.Reader tokenStream)
create
in interface CharFilterFactory
public java.lang.Object getMultiTermComponent()
MultiTermAwareComponent
getMultiTermComponent
in interface MultiTermAwareComponent