This is a massive misconfiguration of an elastic search cluster. 50k indices? 500 documents per index?
500 records per index at 5shards/index is 100 records per shard.
Yeah, let's shard our data so much that we introduce tremendous amounts of disk i/o overhead!!!
Author should learn how to properly configure an ES cluster before posting ridiculous benchmarks like this.
What an utter pile of garbage benchmark this is.