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,
Filter parentsFilter,
boolean doScores)
Create a ToChildBlockJoinQuery.
|
Modifier and Type | Method and Description |
---|---|
ToChildBlockJoinQuery |
clone() |
Weight |
createWeight(IndexSearcher searcher) |
boolean |
equals(Object _other) |
void |
extractTerms(Set<Term> terms) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
public ToChildBlockJoinQuery(Query parentQuery, Filter parentsFilter, boolean doScores)
parentQuery
- Query that matches parent documentsparentsFilter
- Filter (must produce FixedBitSet
per-segment) identifying the parent documents.doScores
- true if parent scores should be calculatedpublic Weight createWeight(IndexSearcher searcher) throws IOException
createWeight
in class Query
IOException
public void extractTerms(Set<Term> terms)
extractTerms
in class Query
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public ToChildBlockJoinQuery clone()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.