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,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object other) |
Query |
getParentQuery()
Return our parent query.
|
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
classHash, sameClassAs, toString
public ToChildBlockJoinQuery(Query parentQuery, BitSetProducer parentsFilter)
parentQuery
- Query that matches parent documentsparentsFilter
- Filter identifying the parent documents.public void visit(QueryVisitor visitor)
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
public Query getParentQuery()
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.