Thanks Honza. 

You made my day (my night rather, it is midnight here in Brussels). 

I quickly tested the code and it gives the same results as the manually 
chained expression. 

I will test with various metrics tomorrow, I will then mark the question as 
“completed”. 

Thanks a lot and have a nice day. 

P.S:This opens the possibilty to perform any “pivot” table in ES . The 
challenge will be to parse the resulting json resuts (see 
http://stackoverflow.com/questions/29280480/), but I hope to find a way. 







-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a8e920e0-e00d-45ee-9466-2ff947752848%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to