mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
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
8ed84bc5ce
commit
18c537652f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue