Fix old name of script context in docs (#45410)

The docs contain an example how to limit the scripting contexts allowed,
but the example used an outdated name for the scoring context.

closes #44232
This commit is contained in:
Ryan Ernst 2019-08-12 09:28:44 -07:00 committed by Ryan Ernst
parent 7e3379444b
commit 620cd4cb20
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ to be `none`.
[source,yaml]
----
script.allowed_contexts: search, update <1>
script.allowed_contexts: score, update <1>
----
<1> This will allow only search and update scripts to be executed but not
<1> This will allow only scoring and update scripts to be executed but not
aggs or plugin scripts (or any other contexts).