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:
parent
7e3379444b
commit
620cd4cb20
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue