elasticsearch/docs/reference/scripting/apis
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
..
create-stored-script-api.asciidoc [DOCS] Fix stored script example snippet (#83056) (#83077) 2022-01-25 10:42:42 -05:00
delete-stored-script-api.asciidoc [DOCS] Fix stored script example snippet (#83056) (#83077) 2022-01-25 10:42:42 -05:00
get-script-contexts-api.asciidoc [DOCS] Document missing script APIs (#72175) (#72704) 2021-05-04 11:23:42 -04:00
get-script-languages-api.asciidoc [DOCS] Document missing script APIs (#72175) (#72704) 2021-05-04 11:23:42 -04:00
get-stored-script-api.asciidoc [DOCS] Fix stored script example snippet (#83056) (#83077) 2022-01-25 10:42:42 -05:00
script-apis.asciidoc [DOCS] Document missing script APIs (#72175) (#72704) 2021-05-04 11:23:42 -04:00