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) |
classHash, sameClassAs, toString
public 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 Query
IOException
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.