Class NestedDocsProvider
java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.join.impl.NestedDocsProvider
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 Summary
ConstructorsConstructorDescriptionNestedDocsProvider(String parentDocumentPath, String nestedDocumentPath) NestedDocsProvider(String parentDocumentPath, Set<String> nestedDocumentPaths, org.apache.lucene.search.Query nestedFilter) NestedDocsProvider(String nestedDocumentPath, org.apache.lucene.search.Query nestedFilter) NestedDocsProvider(Set<String> nestedDocumentPaths) -
Method Summary
Modifier and TypeMethodDescriptionchildDocs(org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.DocIdSetIterator childFilter) childDocs(org.apache.lucene.search.Weight childDocsWeight, org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.DocIdSetIterator childFilter) org.apache.lucene.search.WeightchildDocsWeight(org.apache.lucene.search.IndexSearcher indexSearcher)
-
Constructor Details
-
NestedDocsProvider
-
NestedDocsProvider
-
NestedDocsProvider
-
NestedDocsProvider
-
-
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
-