When Spotlight stops spotting files

May 26, 2008 by David Alison  

digitalapplejuice | When Spotlight stops spotting filesI have become a Spotlight addict ever since my friend Dylan recommended that I use it. So it was with some dismay that I fired it up on my MacBook and suddenly it could not find some of my key applications.

 
I tried searching the interwebs and all I could come up with was several recommendations that I try removing and re-adding folders from Spotlight. None of that seemed to work for me.
 
In the end I decided to do a full reindex of Spotlight, which can take quite a while. In the case of my MacBook with a 320G drive (197G in use) it takes nearly an hour. The machine is perfectly useable during that time, except that you can’t use Spotlight until it’s complete.
 
If you need to do the reindex simple open a terminal window and plug in the following command:
 
 
sudo mdutil -E /
 
 
Once that kicks off (you’ll need the administrator’s password) you can close the terminal window and continue working, though the CPU on my MacBook was pretty busy for a while.
 
When it finally did come back Spotlight could again find everything. If you get the situation where Spotlight can’t find some files try these suggestions first. If that fails then ensuring you have all of your Spotlight folders properly selected (Preferences / Spotlight) and then performing the reindex above will likely fix the problem.
 
You can also see the progress of the indexing by placing your mouse over the Spotlight icon to get a reading of the percent complete on the indexing. Thanks to MacWorld for highlighting that little gem.

digitalapplejuice | When Spotlight stops spotting files

Comments

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.

All the content for our "Parallel Desktops" is provided by  DavidAlison.com.

About David Alison

digitalapplejuice.com | When Spotlight stops spotting files by David Alison

I bought my first Mac almost 24 years ago when DOS ruled the world. I didn't keep it too long though. I was just kicking off my career as a software engineer and needed to go with PCs. I bought my 2nd Mac in February of 2008. I didn't expect that I would find myself using the machine as much as I have. It's not that I hate Windows (well, I pretty much hate Vista but XP is a fine OS), it's just that I find myself constantly playing with this machine. I'll share with you here my experiences of making the move from Windows to Macintosh. I still have a foot in both worlds, hence the name of my section.

Read more from David Alison

Visit the author's website to learn more about this author.