The case is that I have small documents (single opratations) with duration
time of this operation which I want to aggregate and finally get the
percentile of this sum.

Example:
| operation | time |
| A | 10 |
| A | 20 |
| B | 100 |
| B | 1000 |
| C | 10 |
| C | 10 |

After that it will be nice to have i.e. percentile of the field sum_times.
I know it can be ordered by the "sum_times" aggregate but it only gives
some kind of the biggest/smallest times but not percentiles Question: Is it possible to take that value from another aggreagation?

This is a feature that we are considering but it is unfortunately not
available for the moment.

On Tue, Jun 10, 2014 at 11:33 AM, Marek Skorek scoropl@gmail.com wrote:

Hi,

I have a question about subaggregations.

The case is that I have small documents (single opratations) with duration
time of this operation which I want to aggregate and finally get the
percentile of this sum.

Example:
| operation | time |
| A | 10 |
| A | 20 |
| B | 100 |
| B | 1000 |
| C | 10 |
| C | 10 |

After that it will be nice to have i.e. percentile of the field sum_times. I know it can be ordered by the "sum_times" aggregate but it
only gives some kind of the biggest/smallest times but not percentiles Question: Is it possible to take that value from another aggreagation?

Pretty, pretty, pretty please?
I'd also be interested in something like this, so I can do percentiles
based on documents count aggregation, for example, without having to
reparse/reindex everything.

On Wednesday, June 11, 2014 12:01:56 PM UTC-3, Adrien Grand wrote:

Hi,

This is a feature that we are considering but it is unfortunately not
available for the moment.

On Tue, Jun 10, 2014 at 11:33 AM, Marek Skorek <sco...@gmail.com
<javascript:>> wrote:

Hi,

I have a question about subaggregations.

The case is that I have small documents (single opratations) with
duration time of this operation which I want to aggregate and finally get
the percentile of this sum.

Example:
| operation | time |
| A | 10 |
| A | 20 |
| B | 100 |
| B | 1000 |
| C | 10 |
| C | 10 |

After that it will be nice to have i.e. percentile of the field sum_times. I know it can be ordered by the "sum_times" aggregate but
it only gives some kind of the biggest/smallest times but not percentiles Question: Is it possible to take that value from another aggreagation?

I am looking forward to this feature and you will manage it quite fast

Again, thank you for an answer. You save my time.

W dniu wtorek, 10 czerwca 2014 11:33:26 UTC+2 użytkownik Marek Skorek
napisał:

Hi,

I have a question about subaggregations.

The case is that I have small documents (single opratations) with duration
time of this operation which I want to aggregate and finally get the
percentile of this sum.

Example:
| operation | time |
| A | 10 |
| A | 20 |
| B | 100 |
| B | 1000 |
| C | 10 |
| C | 10 |

After that it will be nice to have i.e. percentile of the field sum_times. I know it can be ordered by the "sum_times" aggregate but it
only gives some kind of the biggest/smallest times but not percentiles Question: Is it possible to take that value from another aggreagation?

Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.