From ES aggregation result to a List of Maps (Java)

Hi,

what is the best way to convert an ES Aggregation result to a List of Maps
in Java using Java API?

I want to display the results into a pivot-table or in the first step just
print out the filled rows into the console.

Thanks
Sven

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5c172b60-602c-44d5-9ae7-e57949b01bf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

There is no automatic way to do that. I believe you need to have special
handling of this on client side for the aggregations that you plan to
support.

On Wed, Feb 25, 2015 at 11:09 PM, Sven Jörns sj.at.soit@gmail.com wrote:

Hi,

what is the best way to convert an ES Aggregation result to a List of Maps
in Java using Java API?

I want to display the results into a pivot-table or in the first step just
print out the filled rows into the console.

Thanks
Sven

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5c172b60-602c-44d5-9ae7-e57949b01bf1%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/5c172b60-602c-44d5-9ae7-e57949b01bf1%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5diNS05BsSnP6bB7MzaeMgS1yhtiYfOC8E9ZAkbx5LKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.