Closed spinscale closed 8 years ago
I would agree it's a shame that it does not get cached. But we have several ideas to remove warmers, and in-particular query-based warmers (#9331) so I wouldn't spend too much energy on fixing it.
Closing: warmers will go away in 3.0 #15614
It looks as the request cache is not populated when registering a warmer and the index has configured
index.requests.cache.enable
. Reproduce like thisThe issue seems particularly troubling to me, because this means, that the user will always get one slow query (and I do not see any external possibility to prevent this, like running the query manually and hoping it gets executed before the first user query hits). This means there will always be a slow agg, if I understood it correctly.
This also happens with the query shard cache in 1.7.