From 44827e577e7ad0b591fe373737a7a210e619849d Mon Sep 17 00:00:00 2001 From: Orhan Toy Date: Fri, 3 Jan 2020 16:15:18 +0100 Subject: [PATCH] [DOCS] Fix missing quote in script-score-query.asciidoc (#50590) --- docs/reference/query-dsl/script-score-query.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/query-dsl/script-score-query.asciidoc b/docs/reference/query-dsl/script-score-query.asciidoc index c74a5008717..029cc7469e0 100644 --- a/docs/reference/query-dsl/script-score-query.asciidoc +++ b/docs/reference/query-dsl/script-score-query.asciidoc @@ -281,7 +281,7 @@ as described in <>. -------------------------------------------------- "script" : { "source" : "Math.log10(doc['field'].value * params.factor)", - params" : { + "params" : { "factor" : 5 } } @@ -297,7 +297,7 @@ a value `1` if a document doesn't have a field `field`: -------------------------------------------------- "script" : { "source" : "Math.log10((doc['field'].size() == 0 ? 1 : doc['field'].value()) * params.factor)", - params" : { + "params" : { "factor" : 5 } }