protected class SolrConstantScoreQuery.ConstantWeight extends Weight
| Constructor and Description |
|---|
SolrConstantScoreQuery.ConstantWeight(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() |
scoresDocsOutOfOrderpublic SolrConstantScoreQuery.ConstantWeight(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