Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

NotAdvisable

macrumors regular
Original poster
Nov 16, 2011
220
90
Perth, Australia
Hey Guys,

I'm running the second developer preview of Mavericks, and ever since upgrading from Mountain Lion all of my Spotlight search results have had multiple duplications for every item it finds. It's really annoying and I'd love to hear a solution for it.

usBuCMJ.png


Any help would be great :)

Cheers!
 
Rebuild the Spotlight Index:

1.) Launch ‘Terminal’ (located in /Applications/Utilities/)
2.) At the command prompt, copy and paste this:

sudo mdutil -E /

3.) You will be asked for your password, provide it, as this command requires administrator privelages to run

You will receive a confirmation message saying that index will be rebuilt. Wait until index is finished rebuilding, this can take a while depending on the size of your hard drive, amount of files, etc.
 
Rebuild the Spotlight Index:

1.) Launch ‘Terminal’ (located in /Applications/Utilities/)
2.) At the command prompt, copy and paste this:



3.) You will be asked for your password, provide it, as this command requires administrator privelages to run

You will receive a confirmation message saying that index will be rebuilt. Wait until index is finished rebuilding, this can take a while depending on the size of your hard drive, amount of files, etc.

Thank you :)

EDIT: Nope, didn't work! :( Is there a way to delete the entire Spotlight database?
 
Last edited:
Open Terminal and type:

Code:
sudo rm -rf /Users/.Spotlight-V100

It is a hidden file. I have heard that it is in the root of the drive so it MIGHT be /.Spotlight-V100. I have /Users mounted to a separate partition on a hard drive though so I can't be certain if that changes it for me. You will also almost definitely need to reboot afterward, as Mac tends to keep stuff like this in memory, so deleting the file won't have an affect until after it's cleared from memory.
 
Open Terminal and type:

Code:
sudo rm -rf /Users/.Spotlight-V100

It is a hidden file. I have heard that it is in the root of the drive so it MIGHT be /.Spotlight-V100. I have /Users mounted to a separate partition on a hard drive though so I can't be certain if that changes it for me. You will also almost definitely need to reboot afterward, as Mac tends to keep stuff like this in memory, so deleting the file won't have an affect until after it's cleared from memory.

You sir, earn one internet.
Thank you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.