Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Searching Problem

I am using iMac (21.5-inch, Mid 2011) version 10.13.6. Searching doesn't work properly. When search for anything it shows "no message selected"


Posted on Mar 26, 2023 10:49 PM

Reply
Question marked as Best reply

Posted on Mar 27, 2023 8:35 AM

What method are you using to initiate this search?

Is this a Finder search or a search within a particular app?


If a simple reboot of your Mac doesn’t fix things, see if the problem still happens in Safe mode (press and hold the shift key down at startup). It can take much longer to safe boot (10 min) so be patient.

How to use safe mode on your Mac - Apple Support 


Safe mode is non-destructive to user data. It’s not a cure-all, but very often corrects  weird software behavior. When you're in safe boot, the machine will not be at its best performance, especially with graphics, but that's expected.


Does the problem persist while in Safe mode?


Exit safe mode by restarting your Mac normally and re-evaluate the issue again.


7 replies
Question marked as Best reply

Mar 27, 2023 8:35 AM in response to maruf33

What method are you using to initiate this search?

Is this a Finder search or a search within a particular app?


If a simple reboot of your Mac doesn’t fix things, see if the problem still happens in Safe mode (press and hold the shift key down at startup). It can take much longer to safe boot (10 min) so be patient.

How to use safe mode on your Mac - Apple Support 


Safe mode is non-destructive to user data. It’s not a cure-all, but very often corrects  weird software behavior. When you're in safe boot, the machine will not be at its best performance, especially with graphics, but that's expected.


Does the problem persist while in Safe mode?


Exit safe mode by restarting your Mac normally and re-evaluate the issue again.


Mar 28, 2023 9:41 AM in response to maruf33

It sounds like some glitch may have confused the OS.


If a simple reboot of your Mac doesn’t fix things, see if the problem still happens in Safe mode (press and hold the shift key down at startup). It can take much longer to safe boot (5 min) so be patient.

How to use safe mode on your Mac - Apple Support 


Safe mode is non-destructive to user data. It’s not a cure-all, but very often corrects  weird software behavior. When you're in safe boot, the machine will not be at its best performance, especially with graphics, but that's expected.


Does the problem persist while in Safe mode?


Exit safe mode by restarting your Mac normally and re-evaluate the issue again.


Mar 29, 2023 9:46 AM in response to maruf33

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


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.


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. To re-index only for a specific drive, use the /Volumes path. For example, for an external drive named “MiniMe,” the command would look like this:


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.


If still need be…


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.

Searching Problem

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