Spotlight & Indexing on OS X

Some time ago I turned off Spotlight all the way, since I rarely need it and it’s rather annoying, since it does make the fans go crazy more often than not. But then, other times I think it’s helpful and I go back to turning it on again. Until the next…

Some time ago I turned off Spotlight all the way, since I rarely need it and it’s rather annoying, since it does make the fans go crazy more often than not. But then, other times I think it’s helpful and I go back to turning it on again. Until the next time when too much fan noise… and so the story goes.

Here are the commands just in case you do want to do the same:

Disable Spotlight
The primary method by using launchctl which loads/unloads the Spotlight mds agent into launchd.
This command requires your admin password.

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Reenable Spotlight

To reenable Spotlight just reload it with the same command using launchctl:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Another way is to disable/enable Spotlight is with the mdutil command, which sets the indexing status for the provided volumes to on or off.
You”ll also need your admin password to do so.

sudo mdutil -a -i off

sudo mdutil -a -i on


Print Share Comment Cite Upload Translate
APA
foobartel.com :: Stream | Sciencx (2024-03-28T16:35:59+00:00) » Spotlight & Indexing on OS X. Retrieved from https://www.scien.cx/2013/08/04/spotlight-indexing-on-os-x-2/.
MLA
" » Spotlight & Indexing on OS X." foobartel.com :: Stream | Sciencx - Sunday August 4, 2013, https://www.scien.cx/2013/08/04/spotlight-indexing-on-os-x-2/
HARVARD
foobartel.com :: Stream | Sciencx Sunday August 4, 2013 » Spotlight & Indexing on OS X., viewed 2024-03-28T16:35:59+00:00,<https://www.scien.cx/2013/08/04/spotlight-indexing-on-os-x-2/>
VANCOUVER
foobartel.com :: Stream | Sciencx - » Spotlight & Indexing on OS X. [Internet]. [Accessed 2024-03-28T16:35:59+00:00]. Available from: https://www.scien.cx/2013/08/04/spotlight-indexing-on-os-x-2/
CHICAGO
" » Spotlight & Indexing on OS X." foobartel.com :: Stream | Sciencx - Accessed 2024-03-28T16:35:59+00:00. https://www.scien.cx/2013/08/04/spotlight-indexing-on-os-x-2/
IEEE
" » Spotlight & Indexing on OS X." foobartel.com :: Stream | Sciencx [Online]. Available: https://www.scien.cx/2013/08/04/spotlight-indexing-on-os-x-2/. [Accessed: 2024-03-28T16:35:59+00:00]
rf:citation
» Spotlight & Indexing on OS X | foobartel.com :: Stream | Sciencx | https://www.scien.cx/2013/08/04/spotlight-indexing-on-os-x-2/ | 2024-03-28T16:35:59+00:00
https://github.com/addpipe/simple-recorderjs-demo