Stats combination


(oz.shelach) #1

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b0a8438d-8a4f-4fca-ab04-309c83af046b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2