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() |
scoresDocsOutOfOrder
protected Searcher searcher
protected float queryNorm
protected float queryWeight
protected Map context
public FunctionQuery.FunctionWeight(Searcher searcher) throws IOException
IOException
public float sumOfSquaredWeights() throws IOException
sumOfSquaredWeights
in class Weight
IOException
public Scorer scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer) throws IOException
scorer
in class Weight
IOException
public Explanation explain(IndexReader reader, int doc) throws IOException
explain
in class Weight
IOException