public class WeightFactorFunction extends ScoreFunction
| コンストラクタと説明 |
|---|
WeightFactorFunction(float weight) |
WeightFactorFunction(float weight,
ScoreFunction scoreFunction) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
org.apache.lucene.search.Explanation |
explainWeight() |
LeafScoreFunction |
getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx) |
float |
getWeight() |
boolean |
needsScores()
Indicates if document scores are needed by this function.
|
getDefaultScoreCombinerpublic WeightFactorFunction(float weight,
ScoreFunction scoreFunction)
public WeightFactorFunction(float weight)
public LeafScoreFunction getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
getLeafScoreFunction クラス内 ScoreFunctionIOExceptionpublic boolean needsScores()
ScoreFunctionneedsScores クラス内 ScoreFunctiontrue if scores are needed.public org.apache.lucene.search.Explanation explainWeight()
public float getWeight()
Copyright © 2009–2016. All rights reserved.