Skip to content

Commit

Permalink
[DOCS] Remove ESS icon from index.number_of_shards (elastic#79653) (e…
Browse files Browse the repository at this point in the history
…lastic#79846)

`index.number_of_shards` is an index setting and can't be configured
in `elasticsearch.yml` using Cloud's [edit user settings feature][0].

[0]: https://www.elastic.co/guide/en/cloud/current/ec-add-user-settings.html
  • Loading branch information
jrodewig authored Oct 26, 2021
1 parent 63089a2 commit 5f58561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/index-modules.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ specific index module:

[[index-number-of-shards]]
// tag::index-number-of-shards-tag[]
`index.number_of_shards` {ess-icon}::
`index.number_of_shards`::
The number of primary shards that an index should have. Defaults to `1`. This setting can only be set at index creation time. It cannot be changed on a closed index.
+
NOTE: The number of shards are limited to `1024` per index. This limitation is a safety limit to prevent accidental creation of indices that can destabilize a cluster due to resource allocation. The limit can be modified by specifying `export ES_JAVA_OPTS="-Des.index.max_number_of_shards=128"` system property on every node that is part of the cluster.
Expand Down

0 comments on commit 5f58561

Please sign in to comment.