Will ES introduce range based sharding in the future?

(Makeyang) #1

which is very useful for range scan and sorting

(Mark Walkom) #2

Please explain what you mean when you ask for things like this.

What exactly are you referring to by range sharding?

(Makeyang) #3

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

(Christian Dahlqvist) #4

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.

(Makeyang) #5

got it. thanks

(system) #6