Config: Late-2013 rMBP running 10.12 (16A323)
Issue: Spotlight appears to be mostly non-functional since upgrading to Sierra. I originally noticed it when searches failed to bring up anything in Mail, and Spotlight itself will only surface results from Dictionary.
What I've Tried:
- Add my primary HDD to the Privacy exclusion list in Spotlight preferences (this resulted in a weird
(null)error). The idea is adding, then removing will force a reindex.
mdutil -sv /to find out what's up, resulting in "Error: unexpected indexing state. kMDConfigSearchLevelTransitioning".
sudo mdutil -E /to delete and rebuild the index, resulting in "Error: Index is already changing state. Please try again in a moment."
launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
rm -R ./Spotlight-V100/
launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
mdutil -E /
this all works, and I get a brief pause after the last command before it spits out "Indexing enabled." Subsequent attempts at running
mdutil -sv /spits out the aforementioned error as cited in #2 above.
Activity Monitor is showing that
mds and several
mdworker processes are churning most of the CPU cycles (and the fan is fairly vocal), which would imply that it's in the process of reindexing - yet the two ways I'm aware of confirming indexing behavior is not indicating that's the case:
mdutil -sv /is returning that error.
- Doing a Spotlight search for anything (or "indexing" specifically) does not show any indexing progress bar.
So… is Spotlight either:
A. Actually indexing, despite both known ways of confirmation indicating it isn't? And, if so, citation(s) on that being the case / when can I expect it to be showing that it is indexing?
B. Actually borked? And, if so, any other ways I can try to resolve absent nuking the partition, doing a fresh install, and restoring from Time Machine?
Thanks in advance!