I have a document stored in ElasticSearch as below. _source:
I can access the string type value inside a document using doc.firstname for
scripted metric aggregation
But I am not able to get the field value using doc.medals.bucket.
Can you please help me out and let me know how to access the values inside
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/60a4801a-3d76-4f1e-8156-f1cd30dec79b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.