public class ParentChildrenBlockJoinQuery
extends org.apache.lucene.search.Query
Constructor and Description |
---|
ParentChildrenBlockJoinQuery(org.apache.lucene.search.join.BitSetProducer parentFilter,
org.apache.lucene.search.Query childQuery,
int parentDocId)
Creates a
ParentChildrenBlockJoinQuery instance |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
java.lang.String |
toString(java.lang.String field) |
public ParentChildrenBlockJoinQuery(org.apache.lucene.search.join.BitSetProducer parentFilter, org.apache.lucene.search.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 boolean equals(java.lang.Object obj)
equals
in class org.apache.lucene.search.Query
public int hashCode()
hashCode
in class org.apache.lucene.search.Query
public java.lang.String toString(java.lang.String field)
toString
in class org.apache.lucene.search.Query
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader) throws java.io.IOException
rewrite
in class org.apache.lucene.search.Query
java.io.IOException
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores) throws java.io.IOException
createWeight
in class org.apache.lucene.search.Query
java.io.IOException