macOS Sonoma spotlight search does not find applications

Alt-Space to pop-up a search window following by typing the first few letters of an app is a great and quick way to launch applications on macOS without having to have your dock stuffed with all the apps you often use.


But it's stopped working in Sonoma. I've tried all the articles about re-indexing, the command lines tools to disable/re-enable and instruct a rebuild of the spotlight index. Nothing works.


This seems to be something different on Sonoma. Anyone else seeing this?


MacBook Pro (2017 – 2020)

Posted on Oct 24, 2023 5:33 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Oct 28, 2023 12:07 PM

For me it was not sufficient to run:


sudo mdutil -E /
sudo mdutil -i on /


I had to also run:


sudo mdutil -i on /System/Volumes/Data
sudo mdutil -E /System/Volumes/Data
17 replies
Sort By: 

Apr 3, 2024 9:10 PM in response to chiggerz

Dude, thanks so so much.


This worked -- I spent 3 hrs trying to find a solution. Thanks!!!


This started for me, when I was copying data to 3 drives overnight and in the morning mistakenly didn't eject them properly by turning off my iMac -- and getting error messages.


Didn't lose any data, but after that I couldn't use spotlight to find any applications in the Applications/Utilities folder like Disk Utility or even Terminal.


To clarify, just follow James S instructions and type each of these lines into Terminal one by one :


sudo mdutil -E /


sudo mdutil -i on /


sudo mdutil -i on /System/Volumes/Data


sudo mdutil -E /System/Volumes/Data

Reply

May 13, 2024 1:06 AM in response to plasticchicken

I had the same issue; the indexing simply didn't launch until I enabled it on / and also on /System/Volumes/Data.

Thanks for the suggestion, I've been without spotlight for a few weeks now. It's crazy to realise how much I rely on it to launch applications and open documents.

Reply

Oct 24, 2023 6:23 AM in response to bigdave1357

Found it in /Systems/Volumes/Data


I think I might have solved this with the assistance of the comments above:


reboot


sudo mdiutil -a -i off


turns off indexing


the remove the .Spotlight-V100 folder using command line commands to force removal


sudo mdiutil -a -i on


turns on indexing again


sudo mdiutil -E /


forces a rebuild (might not be necessary with the removal of Spotlight folder)


reboot again


Not completely clear if all these steps are needed, but so far I now see progress. Some of the apps are appearing in the Spotlight search and it is showing as "indexing".


Reply

Oct 24, 2023 5:54 AM in response to dialabrain

I've never really figured out why it doesn't work, then starts working again.

You can try a nuke and pave of the .Spotlight-V100 folder.

You can make it visible with cmd-shift-. in Finder, but I'm not sure you can delete it from there. You might have to use Terminal--I can't remember. Then enable indexing on the drive. The Terminal erase command will kick it in:

sudo mdutil -E /

or you can use the on/off command.

sudo mdutil -i on /
Reply

May 30, 2024 11:57 AM in response to bigdave1357

I encountered the same issue and found a solution. Simply run sudo find / -name "*.spotlight" in the terminal. You'll be prompted for your password. After entering it, the command will access certain applications. Once everything is done, restart your Mac. It should be working perfectly after that. Boom!

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macOS Sonoma spotlight search does not find applications

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.