Package org.elasticsearch.index.analysis
Class SynonymGraphTokenFilterFactory
- java.lang.Object
-
- org.elasticsearch.index.AbstractIndexComponent
-
- org.elasticsearch.index.analysis.AbstractTokenFilterFactory
-
- org.elasticsearch.index.analysis.SynonymTokenFilterFactory
-
- org.elasticsearch.index.analysis.SynonymGraphTokenFilterFactory
-
- All Implemented Interfaces:
TokenFilterFactory
,IndexComponent
public class SynonymGraphTokenFilterFactory extends SynonymTokenFilterFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SynonymGraphTokenFilterFactory.Factory
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
Fields inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
version
-
Fields inherited from class org.elasticsearch.index.analysis.SynonymTokenFilterFactory
expand, format, ignoreCase, lenient, settings, tokenizerFactory
-
-
Constructor Summary
Constructors Constructor Description SynonymGraphTokenFilterFactory(IndexSettings indexSettings, Environment env, AnalysisRegistry analysisRegistry, java.lang.String name, Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.analysis.TokenStream
create(org.apache.lucene.analysis.TokenStream tokenStream)
-
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, index
-
Methods inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
name, version
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.elasticsearch.index.analysis.SynonymTokenFilterFactory
getRulesFromSettings
-
Methods inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
breaksFastVectorHighlighter
-
-
-
-
Constructor Detail
-
SynonymGraphTokenFilterFactory
public SynonymGraphTokenFilterFactory(IndexSettings indexSettings, Environment env, AnalysisRegistry analysisRegistry, java.lang.String name, Settings settings) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
- Specified by:
create
in interfaceTokenFilterFactory
- Overrides:
create
in classSynonymTokenFilterFactory
-
-