diff --git a/src/main/java/org/elasticsearch/index/query/functionscore/gauss/GaussDecayFunctionParser.java b/src/main/java/org/elasticsearch/index/query/functionscore/gauss/GaussDecayFunctionParser.java index 374bd6ea0d1..7a2f8d1cfc2 100644 --- a/src/main/java/org/elasticsearch/index/query/functionscore/gauss/GaussDecayFunctionParser.java +++ b/src/main/java/org/elasticsearch/index/query/functionscore/gauss/GaussDecayFunctionParser.java @@ -47,7 +47,7 @@ public class GaussDecayFunctionParser extends DecayFunctionParser { public Explanation explainFunction(String valueExpl, double value, double scale) { ComplexExplanation ce = new ComplexExplanation(); ce.setValue((float) evaluate(value, scale)); - ce.setDescription("-exp(-0.5*pow(" + valueExpl + ",2.0)/" + -1 * scale + ")"); + ce.setDescription("exp(-0.5*pow(" + valueExpl + ",2.0)/" + -1 * scale + ")"); return ce; }