Spotlight won’t index /Applications

high sierraspotlight

I noticed some apps missing from Spotlight, so I tried to force a reindex by adding /Applications to the exclusion list, then removing it. Now it's even worse, as none of my apps are indexed. How do I force this the right way?

Best Answer

Launch Terminal, and type or paste the following command:

sudo mdutil -E /

reindex the spotlight database for everything on the computer, (it might take a while)

Terminal may ask you for your password