When i use following query, it shows only 10 buckets as default
"aggs": {
"group": {
"terms": {
"field": "user.keyword"
}
when i need to get all buckets i used following query
"aggs": {
"group": {
"terms": {
"field": "user.keyword",
"size":100000
}
Is there any way to get all the documents, without mention 10000.
1 Like
spinscale
(Alexander Reelsen)
August 21, 2019, 6:42am
2
if you need to go through all results of an aggregation, check out the composite aggregation , as otherwise you will run into the max_buckets limitation
1 Like
@spinscale Thank you so much
system
(system)
Closed
September 18, 2019, 7:20am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.