@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 |
---|---|
float |
getBoost()
Deprecated.
|
LeafScoreFunction |
getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx)
Deprecated.
|
boolean |
needsScores()
Deprecated.
Indicates if document scores are needed by this function.
|
String |
toString()
Deprecated.
|
getDefaultScoreCombiner
public static final String BOOST_WEIGHT_ERROR_MESSAGE
public float getBoost()
public LeafScoreFunction getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx)
getLeafScoreFunction
in class ScoreFunction
public boolean needsScores()
ScoreFunction
needsScores
in class ScoreFunction
true
if scores are needed.Copyright © 2009–2017. All rights reserved.