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 > vaidikkapoor.info > > > On 8 January 2014 14:41, Konstantinos Zacharakis > <[email protected]<javascript:> > > wrote: > >> Hello, >> >> I would like to ask about the support of unique terms in aggregations. >> Shay had mentioned in the issue >> #1044<https://github.com/elasticsearch/elasticsearch/issues/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 [email protected] <javascript:>. >> 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 [email protected]. 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.
