This question is related to Disable intellij indexing on specific folder .
However, we have regression tests that run in directories that will be created and timestamped on the fly. Is there a way to disable indexing based on a regex? Or maybe on all subfolders?