Class IndicesModule

java.lang.Object
org.elasticsearch.common.inject.AbstractModule
org.elasticsearch.indices.IndicesModule
All Implemented Interfaces:
Module

public class IndicesModule
extends AbstractModule
Configures classes and services that are shared by indices on each node.
  • Constructor Details

    • IndicesModule

      public IndicesModule​(java.util.List<MapperPlugin> mapperPlugins)
  • Method Details

    • getNamedWriteables

      public java.util.List<NamedWriteableRegistry.Entry> getNamedWriteables()
    • getNamedXContents

      public static java.util.List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> getNamedXContents()
    • getMappers

      public static java.util.Map<java.lang.String,​Mapper.TypeParser> getMappers​(java.util.List<MapperPlugin> mapperPlugins)
    • getMetadataMappers

      public static java.util.Map<java.lang.String,​MetadataFieldMapper.TypeParser> getMetadataMappers​(java.util.List<MapperPlugin> mapperPlugins)
    • getBuiltInMetadataFields

      public static java.util.Set<java.lang.String> getBuiltInMetadataFields()
      Returns a set containing all of the builtin metadata fields
    • configure

      protected void configure()
      Description copied from class: AbstractModule
      Configures a Binder via the exposed methods.
      Specified by:
      configure in class AbstractModule
    • getMapperRegistry

      public MapperRegistry getMapperRegistry()
      A registry for all field mappers.