public class FieldValueFactorFunction extends ScoreFunction
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
FieldValueFactorFunction.Modifier
The Type class encapsulates the modification types that can be applied
to the score/value product.
|
| コンストラクタと説明 |
|---|
FieldValueFactorFunction(String field,
float boostFactor,
FieldValueFactorFunction.Modifier modifierType,
Double missing,
IndexNumericFieldData indexFieldData) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
LeafScoreFunction |
getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx) |
boolean |
needsScores()
Indicates if document scores are needed by this function.
|
getDefaultScoreCombinerpublic FieldValueFactorFunction(String field, float boostFactor, FieldValueFactorFunction.Modifier modifierType, Double missing, IndexNumericFieldData indexFieldData)
public LeafScoreFunction getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx)
getLeafScoreFunction クラス内 ScoreFunctionpublic boolean needsScores()
ScoreFunctionneedsScores クラス内 ScoreFunctiontrue if scores are needed.Copyright © 2009–2016. All rights reserved.