Given is a query: https://gist.github.com/xenji/a99342d3cfc5864ad6e4
The data: Tracking data from a website. Browser and Browser Version are 
available on the first level of the document as string values.

The goal:

* Get a term agg. over all browsers and nested over their versions (DONE)
* Get the overall count of docs that have a browser field filled (DONE)
* Calculate the percentile of the version related to the count of a 
browser. (Browser Firefox, Version 25.0 is 25% of all Firefox hits)
* Calculate the percentile of the browser related to the overall count (All 
Firefox hits are 15% of all hits)

The last two are driving me mad. Is this possible at all? I can do it in 
the application for sure, but I want to know if this is possible to be done 
in ES.

Any hints?

Regards,
Mario

-- 
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/42222fb8-7e9d-49ce-a305-a0ded2a1ac65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to