Browse Source

Docs: clarify scale is applied at origin+offest (#20242)

- fixes #19832
Greg Ichneumon Brown 9 years ago
parent
commit
92c54aa4a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/query-dsl/function-score-query.asciidoc

+ 1 - 1
docs/reference/query-dsl/function-score-query.asciidoc

@@ -318,7 +318,7 @@ In the above example, the field is a <<geo-point,`geo_point`>> and origin can be
     math (for example `now-1h`) is supported for origin.
 
 `scale`::
-    Required for all types. Defines the distance from origin at which the computed
+    Required for all types. Defines the distance from origin + offest at which the computed
     score will equal `decay` parameter. For geo fields: Can be defined as number+unit (1km, 12m,...).
     Default unit is meters. For date fields: Can to be defined as a number+unit ("1h", "10d",...).
     Default unit is milliseconds. For numeric field: Any number.