-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>breaking>enhancementdiscuss
Description
At the moment the QueryTemplateParser uses query, file and id for inline, file and indexed scripts respectively. Since the naming convention for scripts is now script, script_file and script_id (enforced by using the ScriptParameterParser) we should change this API to follow the same convention. We may want to keep query as an option for inline scripts as it makes sense in this context but we should support script too. file and id should be replaced with script_file and script_id.
Original comment in: https://github.com/elasticsearch/elasticsearch/pull/9992/files#r25855691
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>breaking>enhancementdiscuss