My Search functions have stopped working, both in the FINDER as well as in MAIL.

One reason why I use MAIL instead of browser based email is the search function of multiple email accounts in MAIL. This has stopped working. I cannot even run SMART MAILBOXES anymore. Help is appreciated.

Mac mini, macOS 14.1

Posted on Feb 22, 2024 6:05 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 22, 2024 10:22 AM

Start with this of M1 or M2 Mac...


On your Mac, choose Apple menu  > Shut Down.

Wait for your Mac to shut down completely. A Mac is completely shut down when the screen is black and any lights (including in the Touch Bar) are off.

Press and hold the power button on your Mac until “Loading startup options” appears.

Select a volume.

Press and hold the Shift key, then click Continue in Safe Mode.

The computer restarts automatically. When the login window appears, you should see “Safe Boot” in the menu bar.


Restart normally.


Start with this if IntelMac...


Safe Boot, (holding Shift key down at startup), does the problem occur in Safe Mode? Could take 10 minutes or more.


Safe mode attempts to repair Disks & clears lots of caches & loads safe Drivers, & prevents loading of 3rd party extensions, so if Safe Mode works try again in regular boot.


How to rebuild the Spotlight index on your Mac

If searching your Mac doesn’t return expected results, rebuilding the Spotlight index might help.


Choose Apple menu () > System Preferences, then click Spotlight.

Click the Privacy tab.

Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.

To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.

Quit System Preferences. Spotlight will reindex the contents of the folder or disk.


If still not working...


Open Terminal and run each of these one at a time


/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user


sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network


killall Dock


sudo mdutil -E /


sudo mdutil -i on /


Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.


Manually Rebuilding Spotlight via Terminal

If the aforementioned Spotlight control panel approach doesn’t spur a reindexation of the drive, you may need to initiate it manually through the command line. Open Terminal and use the following command string to do so:


sudo mdutil -E /

This basically asks for temporary super user status, which is why Terminal may ask you for your password (it may not if you’ve used a sudo command recently or are already logged in as a super user or root. The command asks the unix tool mdutil to reindex the spotlight database for everything on the computer, including external drives, mounted disk images, etc.


sudo mdutil -i on /

Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.

1 reply
Question marked as Top-ranking reply

Feb 22, 2024 10:22 AM in response to citizentm

Start with this of M1 or M2 Mac...


On your Mac, choose Apple menu  > Shut Down.

Wait for your Mac to shut down completely. A Mac is completely shut down when the screen is black and any lights (including in the Touch Bar) are off.

Press and hold the power button on your Mac until “Loading startup options” appears.

Select a volume.

Press and hold the Shift key, then click Continue in Safe Mode.

The computer restarts automatically. When the login window appears, you should see “Safe Boot” in the menu bar.


Restart normally.


Start with this if IntelMac...


Safe Boot, (holding Shift key down at startup), does the problem occur in Safe Mode? Could take 10 minutes or more.


Safe mode attempts to repair Disks & clears lots of caches & loads safe Drivers, & prevents loading of 3rd party extensions, so if Safe Mode works try again in regular boot.


How to rebuild the Spotlight index on your Mac

If searching your Mac doesn’t return expected results, rebuilding the Spotlight index might help.


Choose Apple menu () > System Preferences, then click Spotlight.

Click the Privacy tab.

Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.

To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.

Quit System Preferences. Spotlight will reindex the contents of the folder or disk.


If still not working...


Open Terminal and run each of these one at a time


/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user


sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network


killall Dock


sudo mdutil -E /


sudo mdutil -i on /


Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.


Manually Rebuilding Spotlight via Terminal

If the aforementioned Spotlight control panel approach doesn’t spur a reindexation of the drive, you may need to initiate it manually through the command line. Open Terminal and use the following command string to do so:


sudo mdutil -E /

This basically asks for temporary super user status, which is why Terminal may ask you for your password (it may not if you’ve used a sudo command recently or are already logged in as a super user or root. The command asks the unix tool mdutil to reindex the spotlight database for everything on the computer, including external drives, mounted disk images, etc.


sudo mdutil -i on /

Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.

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.

My Search functions have stopped working, both in the FINDER as well as in MAIL.

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