Package org.elasticsearch.script
Class ScoreScriptUtils.DecayNumericGauss
java.lang.Object
org.elasticsearch.script.ScoreScriptUtils.DecayNumericGauss
- Enclosing class:
- ScoreScriptUtils
public static final class ScoreScriptUtils.DecayNumericGauss
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description DecayNumericGauss(double origin, double scale, double offset, double decay)
-
Method Summary
Modifier and Type Method Description double
decayNumericGauss(double docValue)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DecayNumericGauss
public DecayNumericGauss(double origin, double scale, double offset, double decay)
-
-
Method Details
-
decayNumericGauss
public double decayNumericGauss(double docValue)
-