Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


How do I get Spotlight to reindex my hard disk?

I've been running Mac OS X Tiger for quite a while now and have only recently begun to explore the capabilities of the Spotlight feature in the OS. It's pretty cool, but sometimes I find that its index of my drive is out of date and I need to have it reindexed. How do I get Spotlight to index or reindex my drive?


Dave's Answer:

This is a great example of where Apple is too smart for its own good. Thinking about it, you would expect that option clicking on a hard drive or disk would produce a context menu that included "Index with Spotlight" or, if it had already been indexed, "Re-Index with Spotlight" as a choice. But it ain't so.

Instead, Apple recommends a fairly clunky solution:

Open Apple --> System Preferences --> Spotlight, then click on the "Privacy" tab. It'll look like this:

Mac OS X: Spotlight: Privacy

Now you need to drag your hard disk icon into the main area so that you indicate to Spotlight that you don't want it indexed.

Wait a few seconds and drag the disk icon back out or select it and use the "-" button to remove it.

That's all you have to do. According to Apple, that's enough that the old index will be trashed and a new one will be built. Now, to be fair, it's going to take a while to build the index so don't be surprised if the results aren't instantly available.

Hope that helps clear up one of the bigger mysteries surrounding Spotlight.

If you're getting into Spotlight, by the way, you might well want to check out a couple of cool Mac OS X extensions that make Spotlight more useful: Spotless makes it considerably easier to enable and disable Spotlight indexing, and Google Importer integrates Google search results into Spotlight results. Cool!


More Useful Mac OS X Help Articles:
✔   Audacity can't find LAME library, I can't save Mp3?
Hey Dave. I read your article Audacity can't save mp3 audio files and am still puzzled because I downloaded the LAME Mp3 converter...
✔   How to remove Dashboard as a "space" in Mac OS X Spaces?
I'm a big fan of the Spaces utility in Mac OS X that lets me have multiple virtual screens [see Set Up Mac...
✔   Best place to buy a cheap MacBook laptop?
Hi Dave. I am looking for two gently used MacBook laptops for my teen daughters. Personal computers would greatly facilitate their studies as...
✔   File too big error copying to USB flash drive on my Mac?
I'm baffled. I have a 16GB Kingston USB flash drive that I use on my Mac system and I'm trying to copy a...
✔   Stealth image capture photo from webcam on my Mac?
Someone sneaks into my cubicle while I'm at lunch and takes candy out of my desk. Petty, but stupid too. I want to...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  





Categorized: Mac OS X Help   (Article 6629, Written by )
Tagged: apple spotlight, disk indexing, mac os x
Previous: Is Limewire illegal?
Next: How do I disable the Windows OneCare firewall?




Reader Comments To Date: 7

Andy said, on June 23, 2006 6:51 PM:

Hi Dave,

Is there a command that will do this from the terminal?

Regards

Andy

elyse said, on August 10, 2006 7:49 PM:

hello,
I saw the question about clearing recent searches from safari and goggle and i had another question about it. I do have safari and i have a problem in yahoo.com where i do searches from. When i put in a letter like "B" everything that starts with the letter "B" comes up, but there not nessesaraly websites, there sometimes just words like ball or ballons. How would i earase those and stop them from coming up?
thank you

Brent said, on April 19, 2007 9:57 PM:

I know this is an old entry, but in case someone stumbles across it, an easier way to to this is jump into the terminal and type the following command:

sudo mdutil -E /

Dick Feldman said, on May 30, 2007 7:31 AM:

My "search entire message" stopped working in Mac Mail. I was told that I needed to reindex my drive as described in this article. But when I drag my HD to the Spotlight Privacy window, it disappears from there and from my list of volumes in finder windows, only to reappear when I restart. Not getting anywhere. I have already repaired permissions. OS 10.4.9 Dual-Core Intel 2GB 667 MHz. Thanks for anyhelp.

Sergio said, on November 27, 2007 6:47 PM:

Hi, I have a problem with spotlight after upgrade to leopard, I used your information but the problem still here, then I found the answer, go to Terminal, "su root", ..., and then "mdutil -i on /" for Turn indexing on in the root Volumen, for "Turn indexing on" in the root Volumen. no more.

janice said, on February 24, 2009 9:22 AM:

Dave Taylor is a genius!

sze said, on July 5, 2010 8:20 PM:

just need to clarify that you have to wait 5 minutes before removing the specified folder from the Privacy section.

Source; MacWorld
http://www.macworld.com/article/44599/2005/05/reindexspot.html

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.