elasticsearch/elasticsearch — pull request #7750 by colings86 (2014-09-16 16:04:27+00:00)
Title: Aggregations: More consistent response format for scripted metrics aggregation

Changes the name of the field in the scripted metrics aggregation from 'aggregation' to 'value' to be more in line with the other metrics aggregations like 'avg'