To some degree, I can archive this goal by setting size: 0 in the terms aggs to list all the generated buckets, but it really consumes much memory, so is there any internal API to do this job ?
Thanks. 2014-09-02 9:38 GMT+08:00 panfei <cnwe...@gmail.com>: > we do a aggregation, and we only want to get the number of buckets it > generated, is there any way to archive this goal ? > > Thanks > > -- > 不学习,不知道 > -- 不学习,不知道 -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLD6PPAaYyc19rsdy4pO0MbpxJBYbpBqoteZ%3DMQN3diKcg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.