Module org.elasticsearch.server
Class StableApiWrappers
java.lang.Object
org.elasticsearch.indices.analysis.wrappers.StableApiWrappers
A utility class containing methods that wraps the Stable plugin API with the old plugin api.
Note that most old and stable api classes have the same names but differ in package name.
Hence this class is avoiding imports and is using qualifying names
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,
AnalysisModule.AnalysisProvider<AnalyzerProvider<?>>> oldApiForAnalyzerFactory
(StablePluginsRegistry stablePluginRegistry) oldApiForStableCharFilterFactory
(StablePluginsRegistry stablePluginRegistry) oldApiForTokenFilterFactory
(StablePluginsRegistry stablePluginRegistry) oldApiForTokenizerFactory
(StablePluginsRegistry stablePluginRegistry)
-
Constructor Details
-
StableApiWrappers
public StableApiWrappers()
-
-
Method Details
-
oldApiForStableCharFilterFactory
public static Map<String,AnalysisModule.AnalysisProvider<CharFilterFactory>> oldApiForStableCharFilterFactory(StablePluginsRegistry stablePluginRegistry) -
oldApiForTokenFilterFactory
public static Map<String,AnalysisModule.AnalysisProvider<TokenFilterFactory>> oldApiForTokenFilterFactory(StablePluginsRegistry stablePluginRegistry) -
oldApiForTokenizerFactory
public static Map<String,AnalysisModule.AnalysisProvider<TokenizerFactory>> oldApiForTokenizerFactory(StablePluginsRegistry stablePluginRegistry) -
oldApiForAnalyzerFactory
public static Map<String,AnalysisModule.AnalysisProvider<AnalyzerProvider<?>>> oldApiForAnalyzerFactory(StablePluginsRegistry stablePluginRegistry)
-