which is very useful for range scan and sorting
Please explain what you mean when you ask for things like this.
What exactly are you referring to by range sharding?
quote from here: https://docs.mongodb.com/manual/core/ranged-sharding/
Ranged-based sharding involves dividing data into contiguous ranges determined
by the shard key values. In this model, documents with “close” shard key
values are likely to be in the same chunk or shard. This
allows for efficient queries where reads target documents within a contiguous
In Elasticsearch you don't in my experience generally do any processing based on keys like you might do in some NoSQL data stores that has more limited indexing and query capabilities. If you wish to colocate data that is queried together in Elasticsearch and thereby be able to hit a minimum number of shards, you can use routing.
got it. thanks