Unique Count in aggregations

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Unique Count in aggregations

Konstantinos Zacharakis
Hello,

I would like to ask about the support of unique terms in aggregations.
Shay had mentioned in the issue #1044 that once the aggregation framework is done you plan to add this new feature?
Since aggregations are here since Beta2, how close in your roadmap is the unique terms support? Should we expect that in 1.0.0 Release?

Kind Regards
Kostas


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/24ca975a-55f4-41ee-8d65-b9e65642eb74%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Unique Count in aggregations

vaidik
Haven't tried the aggregations module. But if what you want are unique terms, I think you can do that using Term Facets as well. Also, in case you use Terms Facet, you will have to select such a size that will ensure that ES returns all the terms and does not discard some when size is lesser than the number of unique terms.

Vaidik Kapoor
vaidikkapoor.info


On 8 January 2014 14:41, Konstantinos Zacharakis <[hidden email]> wrote:
Hello,

I would like to ask about the support of unique terms in aggregations.
Shay had mentioned in the issue #1044 that once the aggregation framework is done you plan to add this new feature?
Since aggregations are here since Beta2, how close in your roadmap is the unique terms support? Should we expect that in 1.0.0 Release?

Kind Regards
Kostas


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/24ca975a-55f4-41ee-8d65-b9e65642eb74%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CACWtv5neMVd4Cgm9g9W3ePvNXg%3DhRHrzoE5mj_QaT8CTEXVByw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Unique Count in aggregations

Konstantinos Zacharakis
Hi Vaidik,

This method is fine when the term cardinality is low and can be also achieved using the aggregations framework.
However when cardinality is high, the memory footprint will be also high and for sure not so safe.

On Wednesday, 8 January 2014 11:15:22 UTC+2, Vaidik Kapoor wrote:
Haven't tried the aggregations module. But if what you want are unique terms, I think you can do that using Term Facets as well. Also, in case you use Terms Facet, you will have to select such a size that will ensure that ES returns all the terms and does not discard some when size is lesser than the number of unique terms.

Vaidik Kapoor
<a href="http://vaidikkapoor.info" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvaidikkapoor.info\46sa\75D\46sntz\0751\46usg\75AFQjCNH5zKfq-xDwNXP5NRZ6kj1jIUZ_Iw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fvaidikkapoor.info\46sa\75D\46sntz\0751\46usg\75AFQjCNH5zKfq-xDwNXP5NRZ6kj1jIUZ_Iw';return true;">vaidikkapoor.info


On 8 January 2014 14:41, Konstantinos Zacharakis <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="pxbp0DUX8pwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">kzac...@...> wrote:
Hello,

I would like to ask about the support of unique terms in aggregations.
Shay had mentioned in the issue <a href="https://github.com/elasticsearch/elasticsearch/issues/1044" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Felasticsearch%2Felasticsearch%2Fissues%2F1044\46sa\75D\46sntz\0751\46usg\75AFQjCNElOLRQ8DQsWSlHAnqUZqWQia3kKw';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Felasticsearch%2Felasticsearch%2Fissues%2F1044\46sa\75D\46sntz\0751\46usg\75AFQjCNElOLRQ8DQsWSlHAnqUZqWQia3kKw';return true;">#1044 that once the aggregation framework is done you plan to add this new feature?
Since aggregations are here since Beta2, how close in your roadmap is the unique terms support? Should we expect that in 1.0.0 Release?

Kind Regards
Kostas


--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="pxbp0DUX8pwJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">elasticsearc...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/elasticsearch/24ca975a-55f4-41ee-8d65-b9e65642eb74%40googlegroups.com" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/elasticsearch/24ca975a-55f4-41ee-8d65-b9e65642eb74%40googlegroups.com';return true;" onclick="this.href='https://groups.google.com/d/msgid/elasticsearch/24ca975a-55f4-41ee-8d65-b9e65642eb74%40googlegroups.com';return true;">https://groups.google.com/d/msgid/elasticsearch/24ca975a-55f4-41ee-8d65-b9e65642eb74%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;">https://groups.google.com/groups/opt_out.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3802839d-ac98-4557-abf9-9509280f9c57%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.