public class SynonymTokenFilterFactory extends AbstractTokenFilterFactory
Modifier and Type | Class and Description |
---|---|
class |
SynonymTokenFilterFactory.Factory |
Modifier and Type | Field and Description |
---|---|
protected boolean |
expand |
protected java.lang.String |
format |
protected boolean |
ignoreCase
Deprecated.
this property only works with tokenizer property
|
protected Settings |
settings |
protected TokenizerFactory |
tokenizerFactory
Deprecated.
This filter tokenize synonyms with whatever tokenizer and token filters appear before it in the chain in 6.0.
|
version
deprecationLogger, indexSettings, logger
Constructor and Description |
---|
SynonymTokenFilterFactory(IndexSettings indexSettings,
Environment env,
AnalysisRegistry analysisRegistry,
java.lang.String name,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
create(org.apache.lucene.analysis.TokenStream tokenStream) |
protected java.io.Reader |
getRulesFromSettings(Environment env) |
name, version
getIndexSettings, index
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
breaksFastVectorHighlighter
@Deprecated protected final boolean ignoreCase
protected final java.lang.String format
protected final boolean expand
protected final Settings settings
@Deprecated protected final TokenizerFactory tokenizerFactory
public SynonymTokenFilterFactory(IndexSettings indexSettings, Environment env, AnalysisRegistry analysisRegistry, java.lang.String name, Settings settings) throws java.io.IOException
java.io.IOException
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
protected java.io.Reader getRulesFromSettings(Environment env)