Package org.elasticsearch.index
Class MockEngineFactoryPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.index.MockEngineFactoryPlugin
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.plugins.EnginePlugin
public class MockEngineFactoryPlugin
extends org.elasticsearch.plugins.Plugin
implements org.elasticsearch.plugins.EnginePlugin
A plugin to use
MockEngineFactory
.
Subclasses may override the reader wrapper used.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.elasticsearch.index.engine.EngineFactory>
getEngineFactory(org.elasticsearch.index.IndexSettings indexSettings)
protected Class<? extends org.apache.lucene.index.FilterDirectoryReader>
List<org.elasticsearch.common.settings.Setting<?>>
Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders, onIndexModule
-
Constructor Details
-
MockEngineFactoryPlugin
public MockEngineFactoryPlugin()
-
-
Method Details
-
getSettings
- Overrides:
getSettings
in classorg.elasticsearch.plugins.Plugin
-
getEngineFactory
public Optional<org.elasticsearch.index.engine.EngineFactory> getEngineFactory(org.elasticsearch.index.IndexSettings indexSettings)- Specified by:
getEngineFactory
in interfaceorg.elasticsearch.plugins.EnginePlugin
-
getReaderWrapperClass
-