say there are 99 documents and we have 3 shards for an index.
is it sure that all the 3 shards are going to have 33 documents each?
thanks in advance?
say there are 99 documents and we have 3 shards for an index.
is it sure that all the 3 shards are going to have 33 documents each?
thanks in advance?
Hey,
no, there is no perfect balancing, so you will have a slight deviation from that perfect case. The idea is, that this will be roughly the case due to the use of using a Murmur3 hash on the id.
--Alex
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.