Reindex spotlight

Christian7
New Contributor

Hey Community, 

Has anybody already put in place a script to reset the spotlight configuration when a Mac experiences unexpected results when searching for it?  

Any input is much appreciated! 

Thanks. 

1 REPLY 1

jamf-42
Valued Contributor II

you can run:

mdutil -E 

erase and rebuild index