Class NestedObjectMapper

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

public class NestedObjectMapper extends ObjectMapper
A Mapper for nested objects
  • Field Details

  • Method Details

    • nestedTypeFilter

      public org.apache.lucene.search.Query nestedTypeFilter()
    • nestedTypePath

      public String nestedTypePath()
    • isNested

      public boolean isNested()
      Overrides:
      isNested in class ObjectMapper
    • isIncludeInParent

      public boolean isIncludeInParent()
    • setIncludeInParent

      public void setIncludeInParent(boolean includeInParent)
    • isIncludeInRoot

      public boolean isIncludeInRoot()
    • setIncludeInRoot

      public void setIncludeInRoot(boolean includeInRoot)
    • getChildren

      public Map<String,​Mapper> getChildren()
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Overrides:
      toXContent in class ObjectMapper
      Throws:
      IOException
    • merge

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