I am trying to test aggregation performance across different ES topologies. The first time running it takes about 26 seconds, and all subsequent runs takes less than a second. I would like to compare performance for the first case.
I know there is a cache, and I run '_cache/clear' on all indices between runs. This has no effect. Is there another cache which is storing results causing the enhanced performance? Is there a way to clear this cache to compare the initial performance times?