Search function not working in apps
This happened to me a few times in the last couple of months, most notably in Mail app: search inside the app does not work, at all. I tried rebuilding inbox, disabling Spotlight index using the sudo mutil -Eai off and then sudo mutil -Eai on Terminal commands, deleting the Spotlight cache files in Library, starting up in safe mode, adding and removing Macintosh HD drive in "Privacy" in Spotlight, System Settings. Sometimes, after I restart the search function starts working for a few minutes (and only for some subjects/senders, not all) and then completely stops again. I think the last time I made it work was with a complete sistem reinstall which is absurd. Any ideea how to fix this? Before Mac OS 26 Spotlight also had some problems (couldn't find anything, calculator function in spotlight was not working) at the same time with the search function in Mail but now spotlight seems to work reasonably ok (still doesn't find files except when press CMD + 2). Did anybody go through this and manage to fix it? Apple support also didn't help (tried everything they threw at me).
iMac 24″, macOS 26.0