Elasticsearch 2.4.6 return an array of all values for a field for a bucket in aggregation

I am doing a complex aggregation which involves nested buckets and filters.
I want to then return an array of all values for field [x] in this filtered bucket.
Is that possible?

Something that will return

"bucket":{
  "max_age":{
    "value":53 
  },
  "list_of_names":{
     ["John","James","Fred"]
  }
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.