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<NamedWriteableRegistry.Entry>
static List<NamedXContentRegistry.Entry>
Methods inherited from class org.elasticsearch.common.inject.AbstractModule
bind, bind, binder, configure
-
Constructor Details
-
IndicesModule
-
-
Method Details
-
getNamedWriteables
-
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.
-