public class ParentChildrenBlockJoinQuery extends Query
| Constructor and Description |
|---|
ParentChildrenBlockJoinQuery(BitSetProducer parentFilter,
Query childQuery,
int parentDocId)
Creates a
ParentChildrenBlockJoinQuery instance |
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
boolean |
equals(Object obj) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
classHash, sameClassAs, toStringpublic ParentChildrenBlockJoinQuery(BitSetProducer parentFilter, Query childQuery, int parentDocId)
ParentChildrenBlockJoinQuery instanceparentFilter - A filter identifying parent documents.childQuery - A child query that determines which child docs are matchingparentDocId - The top level doc id of that parent to return children documents forpublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic Weight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.