Rebuild the Spotlight Index

If you're having issues finding files on your Mac, then you can easily rebuild the Spotlight index for your Mac by typing the following command into the Terminal app (located in /Applications.

After you do that, you will notice after a few minutes that when clicking the Spotlight button in the menu bar, Spotlight will show that it is currently indexing your system. To do this, the the following command into the Terminal utility: June 6, at 9:

Start a Discussion

How to Rebuild the Spotlight Index on Your Mac Saturday November 17, you should try rebuilding its search database index. There are Terminal commands that will do the job, but you can achieve.

This wikiHow teaches you how to open the Terminal utility on Mac, which provides Mac users with a way to access and adjust settings of the operating system with text-based commands. Click the Finder icon in your dock. This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. The wikiHow Tech Team also followed the article's instructions and validated that they work.

It's a square icon with a half-light blue and half-dark blue smiley face. Alternatively, simply click on your desktop wallpaper. Click Go in the menu bar. It's at the top of the screen. One of the great things about Spotlight is that it will index the contents of many types of files. For example you can search for a word written in a PDF document or the telephone number of one of your contacts.

Many third party applications require plugins to make Spotlight index their file's contents, which are available on the Apple Spotlight plugins page. Apple's developer tools come with a source code mdimporter plugin that allows Spotlight to search the contents of your source code.

However, if don't want to install the developer tools it's a big download then you can just modify the rich text mdimporter plugin to handle the same job. Right-click on it and choose "Show Package Contents". Inside the Contents folder, double-click on the info. Near the top you will see a list that looks like this:.

You can add any of the following lines to the end of this list to enable Spotlight to index the contents of the specified format:. When you are done, you will want to double-click on RichText.

If you have another file format that is a really just a text file under the hood, you can find out what to add to the info.

The output should contain a "type" that looks something like the items in the list above. This is really straightforward, but I thought I'd include it for completeness. Followed your process to force re-index.

Now I can type in some letters to Spotlight without it crashing. Just waiting to re-index. Mail will not be published required. Reproduction without explicit permission is prohibited. Rebuild the Spotlight Index Jan 17, - 35 Comments.

Enter your email address below: January 17, at 3: January 17, at 4: January 18, at 7: August 16, at Reindex Spotlight from the Command Line says: February 2, at 4: March 8, at 3: June 6, at 9: June 29, at 2: September 10, at November 30, at 2: February 5, at 8: July 6, at 9: October 11, at 2: January 3, at 6: January 24, at January 24, at 1: February 26, at 5: December 21, at 1: