Show all Elasticsearch aggregation results/buckets and not just 10
I’m trying to list all buckets on an aggregation, but it seems to be showing only the first 10. My search: curl -XPOST “http://localhost:9200/imoveis/_search?pretty=1” -d’ { “size”: 0, “aggregations”: { “bairro_count”: { “terms”: { “field”: “bairro.raw” } } } }’ Returns: { “took” : 2, “timed_out” : false, “_shards” : { “total” : 5, “successful” … Read more