OpenSearch/docs/reference/aggregations
Simon Willnauer fadbe0de08
Automatically prepare indices for splitting (#27451)
Today we require users to prepare their indices for split operations.
Yet, we can do this automatically when an index is created which would
make the split feature a much more appealing option since it doesn't have
any 3rd party prerequisites anymore.

This change automatically sets the number of routinng shards such that
an index is guaranteed to be able to split once into twice as many shards.
The number of routing shards is scaled towards the default shard limit per index
such that indices with a smaller amount of shards can be split more often than
larger ones. For instance an index with 1 or 2 shards can be split 10x
(until it approaches 1024 shards) while an index created with 128 shards can only
be split 3x by a factor of 2. Please note this is just a default value and users
can still prepare their indices with `index.number_of_routing_shards` for custom
splitting.

NOTE: this change has an impact on the document distribution since we are changing
the hash space. Documents are still uniformly distributed across all shards but since
we are artificually changing the number of buckets in the consistent hashign space
document might be hashed into different shards compared to previous versions.

This is a 7.0 only change.
2017-11-23 09:48:54 +01:00
..
bucket [DOC] Fix mathematical representation on interval (range) (#27450) 2017-11-21 17:06:26 +00:00
matrix [Docs] Convert remaining code snippets in docs (#26422) 2017-08-30 12:11:10 +02:00
metrics Automatically prepare indices for splitting (#27451) 2017-11-23 09:48:54 +01:00
pipeline Aggregations: bucket_sort pipeline aggregation (#27152) 2017-11-09 17:59:57 +00:00
bucket.asciidoc Add composite aggregator (#26800) 2017-11-16 15:13:36 +01: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 Use `typed_keys` parameter to prefix suggester names by type in search responses (#23080) 2017-02-10 10:53:38 +01:00
pipeline.asciidoc Aggregations: bucket_sort pipeline aggregation (#27152) 2017-11-09 17:59:57 +00:00