From 6feeac98c82627a1cdeca91de09148f9c96db51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Dev=C3=A8ze?= Date: Wed, 30 Apr 2014 12:27:43 +0200 Subject: [PATCH] s/boost_factor/boost in custom_filters_score doc I may be wrong but I think custom_filters_score used boost rather than boost factor? --- .../reference/query-dsl/queries/function-score-query.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/query-dsl/queries/function-score-query.asciidoc b/docs/reference/query-dsl/queries/function-score-query.asciidoc index 4661f824818..703d5b5dce2 100644 --- a/docs/reference/query-dsl/queries/function-score-query.asciidoc +++ b/docs/reference/query-dsl/queries/function-score-query.asciidoc @@ -511,11 +511,11 @@ and the `custom_filters_score` "custom_filters_score": { "filters": [ { - "boost_factor": "3", + "boost": "3", "filter": {...} }, { - "filter": {…}, + "filter": {...}, "script": "_score * doc['my_numeric_field'].value / pow(param1, param2)" } ],