From d0c7b0a3a8e052dcc47e302946c85d1ff4421b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 15 Sep 2020 15:13:23 +0200 Subject: [PATCH] [DOCS] Removes init_script line from example Painless aggregation. (#62367) (#62379) --- docs/reference/transform/painless-examples.asciidoc | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/reference/transform/painless-examples.asciidoc b/docs/reference/transform/painless-examples.asciidoc index cd0855e77e8..a893e41d891 100644 --- a/docs/reference/transform/painless-examples.asciidoc +++ b/docs/reference/transform/painless-examples.asciidoc @@ -433,7 +433,6 @@ POST _transform/_preview "aggregations" : { "compare" : { <4> "scripted_metric" : { - "init_script" : "", "map_script" : "state.doc = new HashMap(params['_source'])", <5> "combine_script" : "return state", <6> "reduce_script" : """ <7>