so I've been annoyed to **** with spotlight for the last few weeks, only looking at it on and off. warning this will rebuild spotlight indexes of all drives afaik
Tried and failed:
system preferences, spotlight, privacy, add and remove the drive
sudo rm -rf /.Spotlight-V100/
sudo mdutil -ai off then sudo -ai on
sudo mdutil -E /
many of these have worked in the past, but osx had me in for some fun
finally after finding nothing, and after all these steps watching spotlight reindex into eternity...
SUCCESS!!!:
dsenableroot (type your admin password then set a root password - note you won't see typing as the pw is hidden)
logout
login, select other user
login as root/the password you just set
rm -rf /.Spotlight-V100/
mdutil -ai off
mdutil -ai on
mdutil -E /
then logout, login as your admin again, open terminal
sudo dsenableroot -d
type user pw
type root pw if needed
spotlight pwned
i know some of these steps are redundant, but might as well blow the #$%&%er away as reliably as possible. SUCH a simple fix can't believe i didn't think of it before. this also isn't the first time i've seen osx need you fully logged in as root to get rid of a strange issue. pfft.