@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.
|
getDefaultScoreCombinerpublic static final String BOOST_WEIGHT_ERROR_MESSAGE
public float getBoost()
public void setNextReader(org.apache.lucene.index.AtomicReaderContext context)
setNextReader in class ScoreFunctionpublic double score(int docId,
float subQueryScore)
score in class ScoreFunctionpublic org.apache.lucene.search.Explanation explainScore(int docId,
org.apache.lucene.search.Explanation subQueryScore)
explainScore in class ScoreFunctionCopyright © 2009–2016. All rights reserved.