protected class SolrConstantScoreQuery.ConstantWeight extends Weight
Constructor and Description |
---|
SolrConstantScoreQuery.ConstantWeight(IndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
Explanation |
explain(LeafReaderContext context,
int doc) |
Query |
getQuery() |
float |
getValueForNormalization() |
void |
normalize(float norm,
float topLevelBoost) |
Scorer |
scorer(LeafReaderContext context,
Bits acceptDocs) |
bulkScorer
public SolrConstantScoreQuery.ConstantWeight(IndexSearcher searcher) throws IOException
IOException
public float getValueForNormalization() throws IOException
getValueForNormalization
in class Weight
IOException
public void normalize(float norm, float topLevelBoost)
public Scorer scorer(LeafReaderContext context, Bits acceptDocs) throws IOException
scorer
in class Weight
IOException
public Explanation explain(LeafReaderContext context, int doc) throws IOException
explain
in class Weight
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.