OpenSearch/docs/reference/aggregations/bucket
Adrien Grand dcc598c414 Make the heuristic to compute the default shard size less aggressive.
The current heuristic to compute a default shard size is pretty aggressive,
it returns `max(10, number_of_shards * size)` as a value for the shard size.
I think making it less aggressive has the benefit that it would reduce the
likelyness of running into OOME when there are many shards (yearly
aggregations with time-based indices can make numbers of shards in the
thousands) and make the use of breadth-first more likely/efficient.

This commit replaces the heuristic with `size * 1.5 + 10`, which is enough
to have good accuracy on zipfian distributions.
2016-07-29 09:59:29 +02:00
..
children-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
datehistogram-aggregation.asciidoc Clarify time units usage in docs 2016-06-29 17:02:15 -04:00
daterange-aggregation.asciidoc Updated link to Joda time zones 2016-03-14 12:24:58 +01:00
diversified-sampler-aggregation.asciidoc Clarify time units usage in docs 2016-06-29 17:02:15 -04:00
filter-aggregation.asciidoc Docs: Update filter-aggregation.asciidoc 2015-07-01 10:17:45 +02:00
filters-aggregation.asciidoc grammar 2016-06-17 10:09:21 +02:00
geodistance-aggregation.asciidoc Docs: Mapping docs completely rewritten for 2.0 2015-08-06 17:24:51 +02:00
geohashgrid-aggregation.asciidoc Remove size 0 options in aggregations 2016-06-14 13:07:02 +01:00
global-aggregation.asciidoc Docs: Fixed typos 2015-05-05 10:38:05 +02:00
histogram-aggregation.asciidoc histogram-aggregation.asciidoc: tiny edit (#17706) 2016-04-13 14:19:05 +02:00
iprange-aggregation.asciidoc Add back support for `ip` range aggregations. #17859 2016-05-13 17:22:01 +02:00
missing-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
nested-aggregation.asciidoc Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
range-aggregation.asciidoc cutover some docs to painless 2016-06-27 09:55:16 -04:00
reverse-nested-aggregation.asciidoc Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
sampler-aggregation.asciidoc [DOCS] fix to sampler agg documentation 2016-02-15 13:17:19 +00:00
significantterms-aggregation.asciidoc Remove size 0 options in aggregations 2016-06-14 13:07:02 +01:00
terms-aggregation.asciidoc Make the heuristic to compute the default shard size less aggressive. 2016-07-29 09:59:29 +02:00