Package org.elasticsearch.indices
Class IndicesModule
java.lang.Object
org.elasticsearch.common.inject.AbstractModule
org.elasticsearch.indices.IndicesModule
- All Implemented Interfaces:
Module
Configures classes and services that are shared by indices on each node.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Configures aBinder
via the exposed methods.Returns a set containing all of the builtin metadata fieldsA registry for all field mappers.static Map<String,Mapper.TypeParser>
getMappers(List<MapperPlugin> mapperPlugins)
static Map<String,MetadataFieldMapper.TypeParser>
getMetadataMappers(List<MapperPlugin> mapperPlugins)
static List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry>
Methods inherited from class org.elasticsearch.common.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
IndicesModule
-
-
Method Details
-
getNamedWriteables
-
getNamedXContents
public static List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> getNamedXContents() -
getMappers
-
getMetadataMappers
public static Map<String,MetadataFieldMapper.TypeParser> getMetadataMappers(List<MapperPlugin> mapperPlugins) -
getBuiltInMetadataFields
Returns a set containing all of the builtin metadata fields -
configure
protected void configure()Description copied from class:AbstractModule
Configures aBinder
via the exposed methods.- Specified by:
configure
in classAbstractModule
-
getMapperRegistry
A registry for all field mappers.
-