OSX Spotlight reset

Source: StackExchange


1
2
3
4
sudo mdutil -i off /
sudo rm -rf /.Spotlight*
sudo mdutil -i on /
sudo mdutil -E /

1 – turn indexing off
2 – delete Spotlight folder
3 – turn indexing on
4 – rebuild