elasticsearch/elasticsearch — pull request #7969 by colings86 (2014-10-03 10:11:44+00:00)
Title: Aggregations: makes script params consistent with other APIs in scripted_metric

This change removes the script_type parameter form the Scripted Metric Aggregation and adds support for _file and _id suffixes to the init_script, map_script, combine_script and reduce_script parameters to make defining the source of the script consistent with the other APIs which use the ScriptService