2

I have a Spotlight to search for the applications.

enter image description here

However, nothing shows up when I searched the application.

enter image description here

What might be wrong? I use Yosemite, and I made sure that spotlight works with this command.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

3
  • 1
    Maybe the spotlight index needs to be rebuilt? Commented Dec 29, 2014 at 20:52
  • @HaraldHanche-Olsen That seems likely to be the correct solution. Why don't you make it a proper answer instead of just a comment? :)
    – Thecafremo
    Commented Dec 29, 2014 at 21:00
  • @Thecafremo I didn't want to post just a link as an answer, and didn't have time to write more. Fixed now. Commented Dec 30, 2014 at 14:15

1 Answer 1

3

A recent article on MacIssues suggests rebuilding the spotlight index in situations like this.

Briefly, the proposed solution is to go to the Spotlight preference pane (in System preferences) and add your disk drive to the privacy list, then remove it again.

The article also makes oblique reference to certain “Terminal-based approaches”. The obvious candidate is called mdutil. You can use the -E flag to erase the local metadata store for the named drive(s), or -i off followed by -i on to turn indexing off, then on. (Disclaimer: I have not tried this. Check the manual page.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .