Package org.elasticsearch.search
Class NestedDocuments
org.elasticsearch.search.NestedDocuments
public class NestedDocuments
extends
Manages loading information about nested documents
-
Constructor Summary
ConstructorDescriptionNestedDocuments(MappingLookup mappingLookup, Version indexVersionCreated, <org.apache.lucene.search.Query,org.apache.lucene.search.join.BitSetProducer> filterProducer)
Create a new NestedDocuments object for an index -
Method Summary
Modifier and TypeMethodDescriptiongetLeafNestedDocuments(org.apache.lucene.index.LeafReaderContext ctx)
Returns a LeafNestedDocuments for an index segmentMethods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
NestedDocuments
public NestedDocuments(MappingLookup mappingLookup, Version indexVersionCreated, <org.apache.lucene.search.Query,org.apache.lucene.search.join.BitSetProducer> filterProducer)Create a new NestedDocuments object for an index- Parameters:
mappingLookup
- the index's mappingfilterProducer
- a function to build BitSetProducers from filter queries
-
-
Method Details
-
getLeafNestedDocuments
public LeafNestedDocuments getLeafNestedDocuments(org.apache.lucene.index.LeafReaderContext ctx) throwsReturns a LeafNestedDocuments for an index segment- Throws:
-