[DOCS] Removes init_script line from example Painless aggregation. (#62367) (#62379)

This commit is contained in:
István Zoltán Szabó 2020-09-15 15:13:23 +02:00 committed by GitHub
parent 03d2395183
commit d0c7b0a3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

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