@Deprecated public class BoostScoreFunction extends ScoreFunction
Modifier and Type | Field and Description |
---|---|
static String |
BOOST_WEIGHT_ERROR_MESSAGE
Deprecated.
|
Constructor and Description |
---|
BoostScoreFunction(float boost)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Explanation |
explainScore(int docId,
org.apache.lucene.search.Explanation subQueryScore)
Deprecated.
|
float |
getBoost()
Deprecated.
|
double |
score(int docId,
float subQueryScore)
Deprecated.
|
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext context)
Deprecated.
|
String |
toString()
Deprecated.
|
getDefaultScoreCombiner
public static final String BOOST_WEIGHT_ERROR_MESSAGE
public float getBoost()
public void setNextReader(org.apache.lucene.index.AtomicReaderContext context)
setNextReader
in class ScoreFunction
public double score(int docId, float subQueryScore)
score
in class ScoreFunction
public org.apache.lucene.search.Explanation explainScore(int docId, org.apache.lucene.search.Explanation subQueryScore)
explainScore
in class ScoreFunction
Copyright © 2009–2015. All rights reserved.