title: Returning Aggregates Per Item in Elasticsearch
body: <p>I have a collection of documents (eg with fields for each student) and would like to return the aggregates for each student together in 1 query. I can only think of querying by student and then doing an aggregate but would like to prevent looping in my code to get the aggregate for each student. </p>