diff --git a/docs/reference/modules/scripting.asciidoc b/docs/reference/modules/scripting.asciidoc index eaaeb8c5324..8c360288078 100644 --- a/docs/reference/modules/scripting.asciidoc +++ b/docs/reference/modules/scripting.asciidoc @@ -117,8 +117,8 @@ curl -XPOST localhost:9200/_search -d '{ "functions": [ { "script_score": { - "script_id": "indexedCalculateScore", - "lang" : "groovy", + "script_id": " + "lang" : "groovy", "params": { "my_modifier": 8 }