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