Files
elasticsearch-js/docs/reference/api/Script.md
2025-05-28 10:02:30 -05:00

536 B

Script [interface-Script]

Name Type Description
id Id The id for a stored script.
lang ScriptLanguage Specifies the language the script is written in.
options Record<string, string>  
params Record<string, any> Specifies any named parameters that are passed into the script as variables. Use parameters instead of hard-coded values to decrease compile time.
source ScriptSource The script source.