Package org.elasticsearch.script
Class ScoreScriptUtils.DecayNumericLinear
org.elasticsearch.script.ScoreScriptUtils.DecayNumericLinear
- Enclosing class:
- ScoreScriptUtils
public static final class ScoreScriptUtils.DecayNumericLinear
extends
-
Constructor Summary
ConstructorDescriptionDecayNumericLinear(double origin, double scale, double offset, double decay)
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
DecayNumericLinear
public DecayNumericLinear(double origin, double scale, double offset, double decay)
-
-
Method Details
-
decayNumericLinear
public double decayNumericLinear(double docValue)
-