Class NestedDocuments

java.lang.Object
org.elasticsearch.search.NestedDocuments

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

    • NestedDocuments

      public NestedDocuments(MappingLookup mappingLookup, Version indexVersionCreated, Function<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 IOException
      Returns a LeafNestedDocuments for an index segment
      Throws:
      IOException