How to Re-Index spotlight in OS X

Generally, we re-index spotlight if it doesn't produce the correct result. To force re-indexing spotlight use the following command:

Open the Terminal application (located in /Applications/Utilities)

sudo mdutil -E /
sudo mdutil -i on /

You’ll be prompted for your administrator password. Then, after a few minutes delay, Spotlight will begin re-indexing your Mac.