|
@@ -1758,11 +1758,11 @@ caching see <<modules-scripting-using-caching, Script Caching>>.
|
|
|
| Name | Required | Default | Description
|
|
|
| `lang` | no | "painless" | The scripting language
|
|
|
| `id` | no | - | The stored script id to refer to
|
|
|
-| `inline` | no | - | An inline script to be executed
|
|
|
+| `source` | no | - | An inline script to be executed
|
|
|
| `params` | no | - | Script Parameters
|
|
|
|======
|
|
|
|
|
|
-One of `id` or `inline` options must be provided in order to properly reference a script to execute.
|
|
|
+One of `id` or `source` options must be provided in order to properly reference a script to execute.
|
|
|
|
|
|
You can access the current ingest document from within the script context by using the `ctx` variable.
|
|
|
|