Package org.elasticsearch.search
Interface LeafNestedDocuments
public interface LeafNestedDocuments
Manages loading information about nested documents for a single index segment
-
Field Summary
Modifier and TypeFieldDescriptionstatic LeafNestedDocuments
An implementation of LeafNestedDocuments for use when there are no nested field mappers -
Method Summary
-
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, ornull
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
-