Skip to content

Commit f2f432d

Browse files
authored
[DOCS] Note index.number_of_routing_shards affects doc distribution (#69541) (#69545)
1 parent e0cda8e commit f2f432d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/reference/index-modules.asciidoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ split as follows:
6363
This setting's default value depends on the number of primary shards in the
6464
index. The default is designed to allow you to split by factors of 2 up
6565
to a maximum of 1024 shards.
66+
67+
NOTE: In {es} 7.0.0 and later versions, this setting affects how documents are
68+
distributed across shards. When reindexing an older index with custom routing,
69+
you must explicitly set `index.number_of_routing_shards` to maintain the same
70+
document distribution. See the
71+
{ref-70}/breaking-changes-7.0.html#_document_distribution_changes[related
72+
breaking change].
6673
====
6774

6875
`index.shard.check_on_startup`::

0 commit comments

Comments
 (0)