Wildcard Query followed by Heap/CPU spike

Hi,

We are performing a wildcard query over some fields and (after the query returned, which did not take much time) saw the CPU and Heap spike. From https://github.com/elastic/elasticsearch/issues/8249 I think this is due to caching of the wildcard query. So:

  1. Does that conclusion seem reasonable
  2. How to disable caching?

Thank you,
EuclideanSearch