protected class FunctionQuery.FunctionWeight extends Weight
| Modifier and Type | Field and Description |
|---|---|
protected Map |
context |
protected float |
queryNorm |
protected float |
queryWeight |
protected Searcher |
searcher |
| Constructor and Description |
|---|
FunctionQuery.FunctionWeight(Searcher searcher) |
| Modifier and Type | Method and Description |
|---|---|
Explanation |
explain(IndexReader reader,
int doc) |
Query |
getQuery() |
float |
getValue() |
void |
normalize(float norm) |
Scorer |
scorer(IndexReader reader,
boolean scoreDocsInOrder,
boolean topScorer) |
float |
sumOfSquaredWeights() |
scoresDocsOutOfOrderprotected Searcher searcher
protected float queryNorm
protected float queryWeight
protected Map context
public FunctionQuery.FunctionWeight(Searcher searcher) throws IOException
IOExceptionpublic float sumOfSquaredWeights()
throws IOException
sumOfSquaredWeights in class WeightIOExceptionpublic Scorer scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer) throws IOException
scorer in class WeightIOExceptionpublic Explanation explain(IndexReader reader, int doc) throws IOException
explain in class WeightIOException