Specify index shard size when creating index?

how do i specify the size of a shard? I want the maximum size of my shard to be 50GB.
When creating index, i see number of shards, and numvber of replicas settings but not anything related to shard size?

See https://www.elastic.co/blog/managing-time-based-indices-efficiently

sorry I'm still a newbie...I've read the article, it looks like we cannot specify a hard limit on the shard size when creating an index...is this true?

Yes. The next best thing you can do, however, is to use the rollover API to specify a number of documents per index, and rollover to new indices at that number. It should allow you to approximate the same effect, so long as your document sizes are relatively similar.

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