OpenSearch/docs/reference/migration/migrate_7_0
Jim Ferenczi caea6b70fa
Add a new cluster setting to limit the total number of buckets returned by a request (#27581)
This commit adds a new dynamic cluster setting named `search.max_buckets` that can be used to limit the number of buckets created per shard or by the reduce phase. Each multi bucket aggregator can consume buckets during the final build of the aggregation at the shard level or during the reduce phase (final or not) in the coordinating node. When an aggregator consumes a bucket, a global count for the request is incremented and if this number is greater than the limit an exception is thrown (TooManyBuckets exception).
This change adds the ability for multi bucket aggregator to "consume" buckets in the global limit, the default is 10,000. It's an opt-in consumer so each multi-bucket aggregator must explicitly call the consumer when a bucket is added in the response.

Closes #27452 #26012
2017-12-06 09:15:28 +01:00
..
aggregations.asciidoc Add a new cluster setting to limit the total number of buckets returned by a request (#27581) 2017-12-06 09:15:28 +01:00
analysis.asciidoc Limit the number of tokens produced by _analyze (#27529) 2017-11-30 11:54:39 -05:00
api.asciidoc Standardize underscore requirements in parameters (#27414) 2017-11-17 15:31:52 -05:00
cluster.asciidoc remove _primary and _replica shard preferences (#26791) 2017-10-08 11:03:06 -04:00
indices.asciidoc Skip shard refreshes if shard is `search idle` (#27500) 2017-11-27 18:16:10 +01:00
mappings.asciidoc Limit the number of nested documents (#27405) 2017-11-22 10:16:28 -05:00
plugins.asciidoc Remove azure deprecated settings (#26099) 2017-09-12 16:51:44 +02:00
search.asciidoc Fail queries with scroll that explicitely set request_cache (#27342) 2017-11-10 16:02:06 +01:00