Class NestedDocsProvider

java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.join.impl.NestedDocsProvider

public class NestedDocsProvider extends Object
Provides various representations of nested docs for a pre-defined nested document path.

Copied and adapted from org.elasticsearch.index.fielddata.IndexFieldData.Nested class of Elasticsearch project.

  • Constructor Details

    • NestedDocsProvider

      public NestedDocsProvider(String parentDocumentPath, String nestedDocumentPath)
    • NestedDocsProvider

      public NestedDocsProvider(String nestedDocumentPath, org.apache.lucene.search.Query nestedFilter)
    • NestedDocsProvider

      public NestedDocsProvider(Set<String> nestedDocumentPaths)
    • NestedDocsProvider

      public NestedDocsProvider(String parentDocumentPath, Set<String> nestedDocumentPaths, org.apache.lucene.search.Query nestedFilter)
  • Method Details

    • childDocs

      public ChildDocIds childDocs(org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.DocIdSetIterator childFilter) throws IOException
      Throws:
      IOException
    • childDocs

      public ChildDocIds childDocs(org.apache.lucene.search.Weight childDocsWeight, org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.DocIdSetIterator childFilter) throws IOException
      Throws:
      IOException
    • childDocsWeight

      public org.apache.lucene.search.Weight childDocsWeight(org.apache.lucene.search.IndexSearcher indexSearcher) throws IOException
      Throws:
      IOException