[DOCS] Fix missing quote in script-score-query.asciidoc (#50590)

This commit is contained in:
Orhan Toy 2020-01-03 16:15:18 +01:00 committed by Christoph Büscher
parent 218bd19034
commit 44827e577e
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ as described in <<random-score-function, random score function>>.
--------------------------------------------------
"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
}
}