Class ScoreScriptUtils.DecayGeoLinear

java.lang.Object
org.opensearch.script.ScoreScriptUtils.DecayGeoLinear
Enclosing class:
ScoreScriptUtils

public static final class ScoreScriptUtils.DecayGeoLinear extends Object
**** Decay functions on geo field
Opensearch.internal:
  • Constructor Details

    • DecayGeoLinear

      public DecayGeoLinear(String originStr, String scaleStr, String offsetStr, double decay)
  • Method Details

    • decayGeoLinear

      public double decayGeoLinear(GeoPoint docValue)