OpenSearch/docs/reference/aggregations
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
..
bucket Make the heuristic to compute the default shard size less aggressive. 2016-07-29 09:59:29 +02:00
matrix refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics [DOCS] fix documentation for selecting algorithm for percentiles agg 2016-07-27 08:48:51 +01:00
pipeline serial-diff-aggregation.asciidoc: fix a mistake (#17950) 2016-04-25 07:45:54 -04:00
bucket.asciidoc Update bucket.asciidoc 2016-04-22 10:54:25 -06:00
matrix.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics.asciidoc Adds geo_centroid metric aggregator 2015-10-14 16:19:09 -05:00
misc.asciidoc Docs: Convert aggs/misc to CONSOLE 2016-06-22 14:52:06 -04:00
pipeline.asciidoc [DOCS] fix callout in buckets path docs 2016-07-26 11:33:54 +01:00