Any way to delete/prevent search history for emails?

I just don’t like seeing a giant messy list of 100’s of search history results when I click the search bar and it’s annoying to have to delete them all one by one. I’m wondering if there is a way to just disable the search history. I saw another post that said it’s supposed to clear on exit but that doesn’t seem to be the case.