Jump to content

File search not working


Recommended Posts

Hi all

 

For whatever reason, i am not able to get results of folders when I press space and search for the folder name. In the preferences, "folders" checkbox is ticked, and the top level folder is included in the scope. The top level folder does appear in the results but any folder inside it does not. The same folder can be indexed through spotlight search. I have tried rebuilding the cache button but that did not fix the issue. 
 

Please suggest what to do. I am using Ventura right now, but had the same issue on Monterey. Alfred version is 5.05

Link to comment
On 12/6/2022 at 1:29 AM, binbjz said:

1. Disable indexing
$ sudo mdutil -a -i off

2. Enable again
$ sudo mdutil -a -i on

This helped me out, thank you!

 

And for noobs like me, open the Terminal app, and copy paste the first sudo line without the $ and enter. Then the same thing with the second line.

 

This will get Spotlight to re-index all files; Alfred uses its scope. 

 

After the Terminal bit, invoque Spotlight with any search and you'll see how far along the indexing is at. Once it's finished, Alfred will also start showing the files you're looking for.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...