public interface EnginePlugin
A plugin that provides alternative engine implementations.
getEngineFactoryWhen an index is created this method is invoked for each engine plugin. Engine plugins can inspect the index settings to determine whether or not to provide an engine factory for the given index. A plugin that is not overriding the default engine should return
Optional.empty(). If multiple plugins return an engine factory for a given index the index will not be created and an
IllegalStateExceptionwill be thrown during index creation.
- an optional engine factory