Browse Source

Fix documentation for script processor (#25299)

Alexander Kazakov 8 years ago
parent
commit
53b74348ff
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/ingest/ingest-node.asciidoc

+ 2 - 2
docs/reference/ingest/ingest-node.asciidoc

@@ -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.