瀏覽代碼

Update function-score-query.asciidoc

Make explanatory text match value used in example body

Closes #16165
Glen Smith 9 年之前
父節點
當前提交
f402f427cc
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
 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
-be reduced by one third."
+be reduced to one third."
 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.