Here you go, a workaround solution:
To recap:
- This problem occurs if you use fast user switching and log out of another users account. Spotlight search stops working.
- For me both notes and mail stopped searching properly.
- I found logging out of my main account then back in would also solve the problem. But who wants to do that often?!
- The solution given in the link above (i.e. killall -9 corespotlightd) works for me. I made an apple script as suggested, and stuck it in my dock.
Big Sur bug: Mail Search (corespotlightd) fails on multi-user machine after a user logs out
Technical fixes, tips and findings -- all based on my personal experience. Mostly macOS and iOS.
tech.kateva.org
To recap:
- This problem occurs if you use fast user switching and log out of another users account. Spotlight search stops working.
- For me both notes and mail stopped searching properly.
- I found logging out of my main account then back in would also solve the problem. But who wants to do that often?!
- The solution given in the link above (i.e. killall -9 corespotlightd) works for me. I made an apple script as suggested, and stuck it in my dock.