All Implemented Interfaces:
NamedWriteable, Writeable, PostOptimizationVerificationAware, Resolvable, EvaluatorMapper, OptionalArgument

Decay a numeric, spatial or date type value based on the distance of it to an origin. This function uses the same ScoreScriptUtils implementations as Painless scripts, ensuring consistent decay calculations across ES|QL and script contexts. The decay functions support linear, exponential, and gaussian decay types for: - Numeric types (int, long, double) - Spatial types (geo_point, cartesian_point) - Temporal types (datetime, date_nanos)