How to increase the Shards limit in Elasticsearch 7.1

Our application is indexing content and is passing the Elasticsearch 7.1 Shards limit of 1000.

What setting in elasticsearch.yml should we do to increase this limit?

1 Like

That limit is set quite high so I would not recommend you update it? How many shards per node do you have?

Hi, @Christian_Dahlqvist

We have 1000 shards per node. But we have only one node.

That sounds like a lot of shards for just one node. I recommend you read this blog post and look to reduce the shard count rather than increase the limit. having too many shards per node can lead to performance problems and instability. If you still want to go against the recommendation and increase it, the documentation can be found here.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.