Rebuild the Spotlight Index
Do you need to rebuild the entire Spotlight index on a Mac? It’s easy to do, but can take a while. This tutorial will show you how to start the reindexing process of an entire drive in Mac OS X, we’ll do this using the Spotlight control panel, and we’ll cover an alternative method as well just in case you want to take a different approach.
How to Rebuild the Spotlight Index in Mac OS X
Here’s how to start the reindexing process of an entire drive using the Spotlight control panel:
- Launch System Preferences from the Apple menu
- Click on “Spotlight” and then click on the “Privacy” tab
- Drag Macintosh HD (and other drives if necessary) into this window
- Click “OK” when asked to confirm
- Now select the drive(s) you just added and click the “-” minus button to remove it from the list
This should immediately start the Spotlight indexing process for the drive in question.
Note: if an item is left under the “Privacy” list, it will exclude from Spotlight indexing completely.
Spotlight will immediately begin to reindex the drive(s) you added and then removed from the Privacy list. How long it takes to reindex the drive varies, ranging from 30 minutes to several hours, depending on the speed of the drive and it’s contents. At any point, you can pull down the Spotlight menu and check the progress:
Rebuilding and reindexing Spotlight is an excellent troubleshooting technique when you encounter problems with the Mac search client. If you find Spotlight isn’t working at all, try some of these other troubleshooting tips too.
Manually Rebuilding Spotlight via Terminal
If the aforementioned Spotlight control panel approach doesn’t spur a reindexation of the drive, you may need to initiate it manually through the command line. Open Terminal and use the following command string to do so:
sudo mdutil -i on /
Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.
Were you able to successfully rebuild your Spotlight index with this approach? Let us know your experience in the comments.