OpenSearch/docs/reference/aggregations/metrics
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
..
avg-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
cardinality-aggregation.asciidoc Update experimental labels in the docs (#25727) 2017-07-18 14:06:22 +02:00
extendedstats-aggregation.asciidoc Docs: Remove remaining references to file and native scripts (#26580) 2017-09-11 11:39:29 -07:00
geobounds-aggregation.asciidoc CONSOLEify geo aggregation docs 2017-03-30 21:28:52 -04:00
geocentroid-aggregation.asciidoc Automatically prepare indices for splitting (#27451) 2017-11-23 09:48:54 +01:00
max-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
min-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
percentile-aggregation.asciidoc CONSOLEify percentile and percentile-ranks docs 2017-08-02 17:47:27 -04:00
percentile-rank-aggregation.asciidoc CONSOLEify percentile and percentile-ranks docs 2017-08-02 17:47:27 -04:00
scripted-metric-aggregation.asciidoc CONSOLEify scripted-metric agg docs 2017-08-03 17:19:54 -04:00
stats-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
sum-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
tophits-aggregation.asciidoc Return the _source of inner hit nested as is without wrapping it into its full path context 2017-10-19 12:04:56 +02:00
valuecount-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00