I don't believe this is possible at the moment. If you can pre-process your 
data and produce this summarization indexed into ES:

Sara: 3
Mike: 2
John: 1

Then you can use the range (or filter) agg as you already mentioned.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a6741478-ff3d-4b47-a39a-5cb7332759bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to