显示所有Elasticsearch聚合结果/存储桶,而不仅仅是10个
我正在尝试列出聚合中的所有存储桶,但似乎只显示了前10个。 我的搜索: curl -XPOST "http://localhost:9200/imoveis/_search?pretty=1" -d' { "size": 0, "aggregations": { "bairro_count": { "terms": { "field": "bairro.raw" } } } }' 返回值: { "took" : 2, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 16920, "max_score" : …