elasticsearch/elasticsearch — pull request #5837 by jpountz (2014-04-16 16:30:45+00:00)
Title: Aggregations parsing is too lenient.

Our parser currently accepts invalid aggregations definitions, this might trigger unexpected results like #5827.

Close #5827