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 |
ChildrenQuery.ParentWeight(org.apache.lucene.search.Query query,
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.LeafReaderContext context,
int doc) |
void |
extractTerms(Set<org.apache.lucene.index.Term> terms) |
float |
getValueForNormalization() |
void |
normalize(float norm,
float topLevelBoost) |
org.apache.lucene.search.Scorer |
scorer(org.apache.lucene.index.LeafReaderContext context) |
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 ChildrenQuery.ParentWeight(org.apache.lucene.search.Query query,
org.apache.lucene.search.Weight childWeight,
org.apache.lucene.search.Filter parentFilter,
long remaining,
ChildrenQuery.ParentCollector collector,
int minChildren,
int maxChildren)
public void extractTerms(Set<org.apache.lucene.index.Term> terms)
extractTerms in class org.apache.lucene.search.Weightpublic org.apache.lucene.search.Explanation explain(org.apache.lucene.index.LeafReaderContext context,
int doc)
throws IOException
explain in class org.apache.lucene.search.WeightIOExceptionpublic void normalize(float norm,
float topLevelBoost)
normalize in class org.apache.lucene.search.Weightpublic float getValueForNormalization()
throws IOException
getValueForNormalization in class org.apache.lucene.search.WeightIOExceptionpublic org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.LeafReaderContext context)
throws IOException
scorer in class org.apache.lucene.search.WeightIOExceptionCopyright © 2009–2017. All rights reserved.