Interface LeafNestedDocuments


public interface LeafNestedDocuments
Manages loading information about nested documents for a single index segment
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final LeafNestedDocuments
    An implementation of LeafNestedDocuments for use when there are no nested field mappers
  • Method Summary

    Modifier and Type
    Method
    Description
    advance(int doc)
    Advance to a specific doc, and return its NestedIdentity, or null if not a child
    int
    doc()
    The current doc
    The NestedIdentity of the current doc
    int
    The ultimate parent of the current doc
  • Field Details

    • NO_NESTED_MAPPERS

      static final LeafNestedDocuments NO_NESTED_MAPPERS
      An implementation of LeafNestedDocuments for use when there are no nested field mappers
  • Method Details

    • advance

      SearchHit.NestedIdentity advance(int doc) throws IOException
      Advance to a specific doc, and return its NestedIdentity, or null if not a child
      Throws:
      IOException
    • doc

      int doc()
      The current doc
    • rootDoc

      int rootDoc()
      The ultimate parent of the current doc
    • nestedIdentity

      SearchHit.NestedIdentity nestedIdentity()
      The NestedIdentity of the current doc