Browse Source

[docs] add 2d vis for decay functions and parameters

closes #8420
Britta Weber 11 years ago
parent
commit
c5a4c1d6b4

BIN
docs/reference/images/decay_2d.png


+ 4 - 0
docs/reference/query-dsl/queries/function-score-query.asciidoc

@@ -308,6 +308,10 @@ In contrast to the normal and exponential decay, this function actually
 sets the score to 0 if the field value exceeds twice the user given
 scale value.
 
+For single functions the three decay functions together with their parameters can be visualized like this (the field in this example called "age"):
+
+image:images/decay_2d.png[width=600]
+
 ===== Multiple values:
 
 If a field used for computing the decay contains multiple values, per default the value closest to the origin is chosen for determining the distance.