POST test_index/test_type/1/_update { "script" : { "inline": "ctx._source.tags.add(params.new_tag)", "params" : { "new_tag" : "tag4" } } }
POST test_index/test_type/1/_update { "script" : { "inline": "ctx._source.tags.add(params.new_tag)", "params" : { "new_tag" : "tag4" } } }
https://stackoverflow.com/questions/419163/what-does-if-name-main-do