Elasticsearch search requests accept a typed_key parameter that allow returning type information along with the name in aggregation and suggestion results...