Stats combination

I'd like to calculate the relation between the stats of some fields. For
example, the average revenue per rental day would be the total of NET
divided by the total of DURATION. Is this an answer ES can give me
directly, or must send two queries and do my own manipulation of the
responses ?

I've read and re-read the documentation for various facets, which seems to
be the place to look. Perhaps I'm missing the correct place to look, or the
appropriate example...

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
To view this discussion on the web visit
For more options, visit