Optimize elasticsearch queries by not trying to create a missing index each time we search.