Package org.opensearch.analysis.common
Class SynonymGraphTokenFilterFactory
java.lang.Object
org.opensearch.index.AbstractIndexComponent
org.opensearch.index.analysis.AbstractTokenFilterFactory
org.opensearch.analysis.common.SynonymTokenFilterFactory
org.opensearch.analysis.common.SynonymGraphTokenFilterFactory
- All Implemented Interfaces:
TokenFilterFactory,IndexComponent
-
Field Summary
Fields inherited from class org.opensearch.analysis.common.SynonymTokenFilterFactory
analysisMode, environment, settingsFields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, loggerFields inherited from interface org.opensearch.index.analysis.TokenFilterFactory
IDENTITY_FILTER -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.analysis.TokenStreamcreate(org.apache.lucene.analysis.TokenStream tokenStream) getChainAwareTokenFilterFactory(TokenizerFactory tokenizer, List<CharFilterFactory> charFilters, List<TokenFilterFactory> previousTokenFilters, Function<String, TokenFilterFactory> allFilters) Methods inherited from class org.opensearch.analysis.common.SynonymTokenFilterFactory
getAnalysisModeMethods inherited from class org.opensearch.index.analysis.AbstractTokenFilterFactory
nameMethods inherited from class org.opensearch.index.AbstractIndexComponent
getIndexSettings, indexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.index.analysis.TokenFilterFactory
breaksFastVectorHighlighter, getSynonymFilter, normalize
-
Method Details
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream) - Specified by:
createin interfaceTokenFilterFactory- Overrides:
createin classSynonymTokenFilterFactory
-
getChainAwareTokenFilterFactory
public TokenFilterFactory getChainAwareTokenFilterFactory(TokenizerFactory tokenizer, List<CharFilterFactory> charFilters, List<TokenFilterFactory> previousTokenFilters, Function<String, TokenFilterFactory> allFilters) - Specified by:
getChainAwareTokenFilterFactoryin interfaceTokenFilterFactory- Overrides:
getChainAwareTokenFilterFactoryin classSynonymTokenFilterFactory
-