elasticsearch/docs/reference/scripting
James Rodewig 8615ba812e
[DOCS] Fix stored script example snippet (#83056) (#83077)
Changes:

* Updates the example Painless script to be valid and aligns it with the example in [How to write a script](https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting-using.html#script-stored-scripts).
* Adds a hidden snippets to delete the script for cleanup.

Relates to https://github.com/elastic/elasticsearch/issues/83038

(cherry picked from commit 3845a41804)
2022-01-25 10:42:42 -05:00
..
apis [DOCS] Fix stored script example snippet (#83056) (#83077) 2022-01-25 10:42:42 -05:00
common-script-uses.asciidoc [DOCS] [7.x] Create a new page for dissect content in scripting docs #73437 (#73507) 2021-05-27 17:23:41 -04:00
dissect-syntax.asciidoc [DOCS] Remove errant note (#73597) (#73598) 2021-06-01 09:40:33 -04:00
engine.asciidoc [DOCS] Change // CONSOLE comments to [source,console] (#46440) (#46494) 2019-09-09 12:35:50 -04:00
expression.asciidoc [DOCS] Correct spelling for geo terms (#76028) (#76032) 2021-08-03 10:08:52 -04:00
fields.asciidoc [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
grok-syntax.asciidoc Fix broken link for grok patterns in documentation (#78878) (#79009) 2021-10-12 14:58:03 -04:00
painless.asciidoc [DOCS] [7.x] Focus scripting docs on Painless (#69748) (#70588) 2021-03-18 17:33:44 -04:00
security.asciidoc [DOCS] [7.x] Add ES security principles (#76850) (#77082) 2021-09-01 12:25:43 -04:00
using.asciidoc Update using.asciidoc (#81896) (#82095) 2021-12-27 12:47:07 -08:00