Class RootObjectMapper

All Implemented Interfaces:
, <Mapper>, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class RootObjectMapper extends ObjectMapper
  • Method Details

    • fixRedundantIncludes

      public void fixRedundantIncludes()
      Removes redundant root includes in ObjectMapper.Nested trees to avoid duplicate fields on the root mapper when isIncludeInRoot is true for a node that is itself included into a parent node, for which either isIncludeInRoot is true or which is transitively included in root by a chain of nodes with isIncludeInParent returning true.
    • clone

      protected ObjectMapper clone()
      Overrides:
      clone in class ObjectMapper
    • merge

      public RootObjectMapper merge(Mapper mergeWith, MapperService.MergeReason reason)
      Overrides:
      merge in class ObjectMapper
    • doMerge

      protected void doMerge(ObjectMapper mergeWith, MapperService.MergeReason reason)
      Overrides:
      doMerge in class ObjectMapper
    • doXContent

      protected void doXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws
      Overrides:
      doXContent in class ObjectMapper
      Throws: