Hi all!
This is more of a development question than a usage one.
For the Rust client I work on I want to revamp the current simple response aggregations parser and am looking at leveraging typed_keys
if available to know the basic shape of the aggregation before deserialising it. Otherwise it'll end up in as an anonymous json map.
Is there a function in Elasticsearch that determines what that type value is per aggregation that appears before the #
, or are they hard-coded somewhere in source I can go track down?
Unfortunately I can't rely on the aggregations specified in the request being available as a reference because those aren't necessarily strongly-typed.
Thanks!