Script average value over hits

Hi!

I want to make a script that does some statistics, as how I understand it,
ES don't do statistic the way I need it to.

The search I do returns multiple hits like
this: http://pastebin.com/UkQjDXhm
What I want to do is an average of time after 13:37 independent of date. So
what I think would do it is creating a date object and push
parseFloat(date.getMinutes()+"."+date.getSeconds()), and then average it in
the end and put it into the response. Wrote it like javascript, but I
assume MVEL is the fastest language, so I'd like to do it in MVEL.

Is this at all possible, or would I have to do it on the client side?

Regards Jo Emil

--
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/d30345b1-8126-4d89-8fd9-2897695086a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.