protected class FunctionQuery.FunctionWeight extends Weight
Weight.DefaultBulkScorer| Modifier and Type | Field and Description |
|---|---|
protected float |
boost |
protected Map |
context |
protected float |
queryNorm |
protected float |
queryWeight |
protected IndexSearcher |
searcher |
parentQuery| Constructor and Description |
|---|
FunctionWeight(IndexSearcher searcher) |
| Modifier and Type | Method and Description |
|---|---|
Explanation |
explain(LeafReaderContext context,
int doc) |
void |
extractTerms(Set<Term> terms) |
float |
getValueForNormalization() |
void |
normalize(float norm,
float boost) |
Scorer |
scorer(LeafReaderContext context) |
bulkScorer, getQuery, scorerSupplierprotected final IndexSearcher searcher
protected float queryNorm
protected float boost
protected float queryWeight
protected final Map context
public FunctionWeight(IndexSearcher searcher) throws IOException
IOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Weightpublic float getValueForNormalization()
throws IOException
getValueForNormalization in class WeightIOExceptionpublic Scorer scorer(LeafReaderContext context) throws IOException
scorer in class WeightIOExceptionpublic Explanation explain(LeafReaderContext context, int doc) throws IOException
explain in class WeightIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.