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,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object obj) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
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 void visit(QueryVisitor visitor)
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.