Skip to content

Commit

Permalink
Docs: clarify scale is applied at origin+offest (#20242)
Browse files Browse the repository at this point in the history
- fixes #19832
  • Loading branch information
gibrown authored and clintongormley committed Aug 31, 2016
1 parent 80630a1 commit 47a6da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/query-dsl/function-score-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,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.
Expand Down

0 comments on commit 47a6da9

Please sign in to comment.