public class ToChildBlockJoinQuery extends Query
ToParentBlockJoinQuery, except this
query joins in reverse: you provide a Query matching
parent documents and it joins down to child
documents.| Constructor and Description |
|---|
ToChildBlockJoinQuery(Query parentQuery,
BitSetProducer parentsFilter)
Create a ToChildBlockJoinQuery.
|
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
boolean |
equals(Object other) |
Query |
getParentQuery()
Return our parent query.
|
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
classHash, sameClassAs, toStringpublic ToChildBlockJoinQuery(Query parentQuery, BitSetProducer parentsFilter)
parentQuery - Query that matches parent documentsparentsFilter - Filter identifying the parent documents.public Weight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight in class QueryIOExceptionpublic Query getParentQuery()
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.