diff --git a/docs/reference/modules/scripting.asciidoc b/docs/reference/modules/scripting.asciidoc index c0ea9368c23..26b50c97ac1 100644 --- a/docs/reference/modules/scripting.asciidoc +++ b/docs/reference/modules/scripting.asciidoc @@ -69,7 +69,7 @@ GET /_search { "script_fields": { "my_field": { - "script_file": "my_test", + "script_file": "my_script", "params": { "my_var": 2 }