-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>breakinghelp wantedadoptmeadoptme
Description
Accessing the _source
field within a script is very slow and can hurt a cluster's performance. That said, it can be a useful way of accessing some not-indexed value for one-off uses without having to reindex.
As a safeguard, let's disable script access to _source
by default (other than update/reindex scripts, obviously) and allow the user to re-enable access with a dynamic index setting.
jpountz, nik9000 and s1monws1monw
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>breakinghelp wantedadoptmeadoptme