Browse Source

Update function-score-query.asciidoc

Make explanatory text match value used in example body

Closes #16165
Glen Smith 9 years ago
parent
commit
f402f427cc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/query-dsl/function-score-query.asciidoc

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

@@ -300,9 +300,9 @@ location field. You want to compute a decay function depending on how
 far the hotel is from a given location. You might not immediately see
 far the hotel is from a given location. You might not immediately see
 what scale to choose for the gauss function, but you can say something
 what scale to choose for the gauss function, but you can say something
 like: "At a distance of 2km from the desired location, the score should
 like: "At a distance of 2km from the desired location, the score should
-be reduced by one third."
+be reduced to one third."
 The parameter "scale" will then be adjusted automatically to assure that
 The parameter "scale" will then be adjusted automatically to assure that
-the score function computes a score of 0.5 for hotels that are 2km away
+the score function computes a score of 0.33 for hotels that are 2km away
 from the desired location.
 from the desired location.