protected class ChildrenQuery.ParentWeight
extends org.apache.lucene.search.Weight
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.search.Weight |
childWeight |
protected ChildrenQuery.ParentCollector |
collector |
protected int |
maxChildren |
protected int |
minChildren |
protected org.apache.lucene.search.Filter |
parentFilter |
protected float |
queryNorm |
protected float |
queryWeight |
protected long |
remaining |
Modifier | Constructor and Description |
---|---|
protected |
ParentWeight(org.apache.lucene.search.Weight childWeight,
org.apache.lucene.search.Filter parentFilter,
long remaining,
ChildrenQuery.ParentCollector collector,
int minChildren,
int maxChildren) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Explanation |
explain(org.apache.lucene.index.AtomicReaderContext context,
int doc) |
org.apache.lucene.search.Query |
getQuery() |
float |
getValueForNormalization() |
void |
normalize(float norm,
float topLevelBoost) |
org.apache.lucene.search.Scorer |
scorer(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs) |
protected final org.apache.lucene.search.Weight childWeight
protected final org.apache.lucene.search.Filter parentFilter
protected final ChildrenQuery.ParentCollector collector
protected final int minChildren
protected final int maxChildren
protected long remaining
protected float queryNorm
protected float queryWeight
protected ParentWeight(org.apache.lucene.search.Weight childWeight, org.apache.lucene.search.Filter parentFilter, long remaining, ChildrenQuery.ParentCollector collector, int minChildren, int maxChildren)
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.AtomicReaderContext context, int doc) throws IOException
explain
in class org.apache.lucene.search.Weight
IOException
public org.apache.lucene.search.Query getQuery()
getQuery
in class org.apache.lucene.search.Weight
public void normalize(float norm, float topLevelBoost)
normalize
in class org.apache.lucene.search.Weight
public float getValueForNormalization() throws IOException
getValueForNormalization
in class org.apache.lucene.search.Weight
IOException
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.AtomicReaderContext context, org.apache.lucene.util.Bits acceptDocs) throws IOException
scorer
in class org.apache.lucene.search.Weight
IOException
Copyright © 2009–2015. All rights reserved.