Can i get bucket count of terms aggregation?

"aggs": {
        "terms_aggs": {
          "terms": {
            "field": "topic.keyword",
            "size": 10000
          }
        }
}

first, If I actually got 600 bucket count, can i get 600 in the query or aggs?
second, Can i get that count if bucket count goes over 100,000? no limits?

If you want to know how many unique topics you have the cardinality aggregation is probably the thing to look at

cardinality aggs does not produce the desired results.

please check this question...

That looks like a different question.
Maybe start with stating what business problem you’re trying to solve without the JSON.?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.