Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Question

  1. What is causing this to happen?
  2. What can I do to fix it?

    Background

I use spotlight to launch my applications much like quicksilver and have recently found that many of my applications aren't showing up in the spotlight search.

Context

I am on a MacBook Pro running Mac OS 10.6 and have been sing spotlight without any problems for almost a year now. I switched to 10.6 when it was released almost a month ago and this problem didn't start until about 2 days ago and was not right after an update to the OS.

I know someone is going to say it so I will just get it out of the way right now. "Use quicksilver" I am currently using quicksilver until I get spotlight working again. I don't like the idea of things disappearing from spotlight so I would still like to figure out what's going on and fix it. Thank you very much in advance for your help.

Answer

A special thanks to joshhunt and choge for their answers. Both their answers completely answer the question but joshhunts question got selected because that is what I needed to fix the problem. I have written a how to on my blog with the combination of their answers. superuser.com Rocks!

share|improve this question
2  
by "released" you mean the OS X 10.6 beta for developers? –  splattne Jul 19 '09 at 6:47
    
add comment

3 Answers 3

up vote 7 down vote accepted

First, make sure Applications (and the others that you want) is selected in System Preferences > Spotlight.

If that does not work, it is possible somehow indexing got disabled. In terminal, run the following command:

sudo mdutil -E /

Still, if that fails try deleting the Spotlight index and start indexing it again:

sudo rm -r /.Spotlight-V<TAB>
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo mdutil -E /

On my machine, the Spotlight index was .Spotlight-V100, but I have seen it as other, that is why used tab completion

share|improve this answer
1  
Onyx, and several other utilities allow you to rebuild Spotlight's index outside of the terminal. –  EvilChookie Jul 19 '09 at 17:43
    
@joshhunt, Thank you for your answer. I was able to remove the spotlight directory and rebuild the indexing and now everything is working as expected. Thanks again! :) –  Mike Grace Jul 20 '09 at 2:26
    
No problem. I am glad I could help :) –  David Pearce Jul 20 '09 at 8:23
    
@joshhunt Me to. :P –  Mike Grace Jul 21 '09 at 3:44
    
So I guess you never discovered what caused that problem, right @Mike? –  Cawas Apr 29 '10 at 23:18
show 3 more comments

In System Preferences > Spotlight there are two settings that may have been changed to cause something like this:

  • The "Applications" category may be set not to display in results
  • Your Privacy list may be set to exclude certain directories that contain applications.

It is also possible that the Spotlight index is not updating if the applications that are not showing up are new ones.

share|improve this answer
    
Thank you for the suggestion but that wasn't causing the problem. –  Mike Grace Jul 21 '09 at 3:43
add comment

Since Mac OS X 10.6 isn't released yet (coming in September 2009), you probably run a beta version which is being provided for testing and development purposes. I suspect this is a bug in the new Spotlight implementation.

You could try to report the bug on Apple's Developer's site: Apple Developer Connection - Bug Reporting

share|improve this answer
    
Thanks, I will. –  Mike Grace Jul 21 '09 at 3:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.