If you notice files/folders suddenly seem to be missing on your Mac, your index may be corrupt. Here's how I fixed it. Note: These steps were found on a Reddit post and are being posted here so I can find it easier.
- Open the Terminal in the Utilities' folder.
- Copy each line below then paste it at the Terminal's prompt and press RETURN.
- You will be prompted to enter your admin password. It will not echo back to the Terminal window. Press RETURN again. You should only be asked when you run the first command.
- These are the commands (one per entry):
- sudo moutil -a -i off
- sudo mutil -a -i on
- sudo mdutil -E
Hope this helps!
Note: There was an extra line (sudo rm -rf /.Spotlight*) in the steps above, but many comments indicated that the command was redundant and unnnecessary.