It would make sense to update the docs and explain a bit, why 200 million documents is a "magic" number and what the implications are of going over it. Too large cache entries, slower search performance, ... impacts on TSDB because of sorting algorithms...
Description
The following ILM document has a recommendation to aim for 200 million documents per shard as a maximum. We set this automatically in all of our ILM settings. https://www.elastic.co/guide/en/elasticsearch/reference/current/size-your-shards.html#shard-size-recommendation
It would make sense to update the docs and explain a bit, why 200 million documents is a "magic" number and what the implications are of going over it. Too large cache entries, slower search performance, ... impacts on TSDB because of sorting algorithms...