The following worked for me on macOS Ventura when the other suggested solutions did not.
sudo -i
mdutil -Ea
mdutil -ai off
mdutil -ai on
Note: A good way to check if Spotlight is healthy is to see the Indexing status when doing a search. If you are not seeing this indication then there is a problem with Spotlight.