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 LeafNestedDocuments
NO_NESTED_MAPPERS
An implementation of LeafNestedDocuments for use when there are no nested field mappers -
Method Summary
Modifier and Type Method Description SearchHit.NestedIdentity
advance(int doc)
Advance to a specific doc, and return its NestedIdentity, ornull
if not a childint
doc()
The current docSearchHit.NestedIdentity
nestedIdentity()
The NestedIdentity of the current docint
rootDoc()
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, ornull
if 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
-