Is It Necessary To Specify the Number of Shards When Creating an Index in an OpenSearch Serverless Collection?


Is it necessary, or even permitted, to specify the number of shards when creating an index in an OpenSearch Serverless Collection? The documentation says that index and shard lifecycle is managed by Amazon, but it's not clear if this extends to deciding how many shards there should be.

1 Answer
Accepted Answer

Index and shard management is taken care by serverless, you don't need to worry about specifying the shards/replica for an index. Even if you have those settings in your index template or index creation step, it would be ignored.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions