elasticsearch/elasticsearch — pull request #4477 by jpountz (2013-12-17 09:26:03+00:00)
Title: Stricter parsing of aggregations.

- Only one aggregation type is allowed per aggregation definition.
- Return an error in the parsers when an unknown field is encountered.

Close #4464