Can ES compute result of aggregation's result


(赵纯) #1

Hi all

I have two sum when aggregation over, for example click total num and
search total num. Is there some operator that can give me a num which is
click total num/search total num?

Thanks

Zhao Chun

--
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/b12a786d-37c1-4b30-9684-c75a94c8c7f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Adrien Grand) #2

Hi,

Unfortunately, this is not possible. But maybe you could do it on client
side?

On Thu, Apr 10, 2014 at 3:04 PM, Zhao Chun buaa.zhaoc@gmail.com wrote:

Hi all

I have two sum when aggregation over, for example click total num and
search total num. Is there some operator that can give me a num which is
click total num/search total num?

Thanks

Zhao Chun

--
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/b12a786d-37c1-4b30-9684-c75a94c8c7f7%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/b12a786d-37c1-4b30-9684-c75a94c8c7f7%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
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/CAL6Z4j6YUtk_dj2dyBYnsJWR7e6PEdpAzRqT%2B%3DEtfNsB9s0Kdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(赵纯) #3

Thanks for your reply, I will do it on client side.

在 2014年4月11日,上午7:29,Adrien Grand adrien.grand@elasticsearch.com 写道:

Hi,

Unfortunately, this is not possible. But maybe you could do it on client side?

On Thu, Apr 10, 2014 at 3:04 PM, Zhao Chun buaa.zhaoc@gmail.com wrote:
Hi all

I have two sum when aggregation over, for example click total num and search total num. Is there some operator that can give me a num which is click total num/search total num?

Thanks

Zhao Chun

--
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/b12a786d-37c1-4b30-9684-c75a94c8c7f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/kVNpBkz8Kfg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6YUtk_dj2dyBYnsJWR7e6PEdpAzRqT%2B%3DEtfNsB9s0Kdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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/0721AD63-1058-4527-90C3-D2D1FE1F5A88%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4