Hello. I was looking into Shrink API and in what cases it can be used, and I found three main reasons to use shrinking:
Resource economy
Faster search
Big shards are more suited for long-term data storage
However, I don't really understand how having a small number of shards relates to those. Also, are there more reasons to use shrink API other than those?
If you have only one shard to search on, it will make your search faster as you don't have to hit multiple shards and merge the results.
If you have then one single segment in this shard, that could be even better.
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.