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 |
|---|---|
ToChildBlockJoinQuery |
clone() |
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object _other) |
Query |
getParentQuery()
Return our parent query.
|
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
public ToChildBlockJoinQuery(Query parentQuery, BitSetProducer parentsFilter)
parentQuery - Query that matches parent documentsparentsFilter - Filter identifying the parent documents.public Weight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight in class QueryIOExceptionpublic Query getParentQuery()
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic ToChildBlockJoinQuery clone()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.