Package org.elasticsearch.search
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 LeafNestedDocumentsNO_NESTED_MAPPERSAn implementation of LeafNestedDocuments for use when there are no nested field mappers -
Method Summary
Modifier and Type Method Description SearchHit.NestedIdentityadvance(int doc)Advance to a specific doc, and return its NestedIdentity, ornullif not a childintdoc()The current docSearchHit.NestedIdentitynestedIdentity()The NestedIdentity of the current docintrootDoc()The ultimate parent of the current doc
-
Field Details
-
NO_NESTED_MAPPERS
An implementation of LeafNestedDocuments for use when there are no nested field mappers
-
-
Method Details
-
advance
Advance to a specific doc, and return its NestedIdentity, ornullif not a child- Throws:
java.io.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
-