Class NestedDocuments

org.elasticsearch.search.NestedDocuments

public class NestedDocuments extends
Manages loading information about nested documents
  • Constructor Summary

    Constructors
    Constructor
    Description
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    getLeafNestedDocuments​(org.apache.lucene.index.LeafReaderContext ctx)
    Returns a LeafNestedDocuments for an index segment

    Methods 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 mapping
      filterProducer - a function to build BitSetProducers from filter queries
  • Method Details

    • getLeafNestedDocuments

      public LeafNestedDocuments getLeafNestedDocuments(org.apache.lucene.index.LeafReaderContext ctx) throws
      Returns a LeafNestedDocuments for an index segment
      Throws: