Spotlight safari first result
Hello,
On every Spotlight search on macOs Monterey there's a Safari search link even if I have local files fully matching the keyword.
How can I disable this?
Thanks
MacBook Pro 13″, macOS 12.5
Hello,
On every Spotlight search on macOs Monterey there's a Safari search link even if I have local files fully matching the keyword.
How can I disable this?
Thanks
MacBook Pro 13″, macOS 12.5
Nice find, did you try this???
·

Open up Terminal and copy and paste this in:
defaults write com.apple.spotlight orderedItems -array \
'{"enabled" = 1;"name" = "APPLICATIONS";}' \
'{"enabled" = 1;"name" = "SYSTEM_PREFS";}' \
'{"enabled" = 1;"name" = "DIRECTORIES";}' \
'{"enabled" = 1;"name" = "PDF";}' \
'{"enabled" = 1;"name" = "FONTS";}' \
'{"enabled" = 0;"name" = "DOCUMENTS";}' \
'{"enabled" = 0;"name" = "MESSAGES";}' \
'{"enabled" = 0;"name" = "CONTACT";}' \
'{"enabled" = 0;"name" = "EVENT_TODO";}' \
'{"enabled" = 0;"name" = "IMAGES";}' \
'{"enabled" = 0;"name" = "BOOKMARKS";}' \
'{"enabled" = 0;"name" = "MUSIC";}' \
'{"enabled" = 0;"name" = "MOVIES";}' \
'{"enabled" = 0;"name" = "PRESENTATIONS";}' \
'{"enabled" = 0;"name" = "SPREADSHEETS";}' \
'{"enabled" = 0;"name" = "SOURCE";}' \
'{"enabled" = 0;"name" = "MENU_DEFINITION";}' \
'{"enabled" = 0;"name" = "MENU_OTHER";}' \
'{"enabled" = 0;"name" = "MENU_CONVERSION";}' \
'{"enabled" = 0;"name" = "MENU_EXPRESSION";}' \
'{"enabled" = 0;"name" = "MENU_WEBSEARCH";}' \
'{"enabled" = 0;"name" = "MENU_SPOTLIGHT_SUGGESTIONS";}'
You can rearrange that list as whatever is closer to the top takes a higher search priority for your search results. Any line that has "enabled" = 1 means that it is ON. Any line that has "enabled" = 0 means that it is OFF. So ensure that MENU_WEBSEARCH is set to 0.
Feel free to enable or disable any other section you don't wish Spotlight to look for results in.
File is located...
/Users/YourUserName/Library/Preferences/com.apple.Spotlight.plist
Nice find, did you try this???
·

Open up Terminal and copy and paste this in:
defaults write com.apple.spotlight orderedItems -array \
'{"enabled" = 1;"name" = "APPLICATIONS";}' \
'{"enabled" = 1;"name" = "SYSTEM_PREFS";}' \
'{"enabled" = 1;"name" = "DIRECTORIES";}' \
'{"enabled" = 1;"name" = "PDF";}' \
'{"enabled" = 1;"name" = "FONTS";}' \
'{"enabled" = 0;"name" = "DOCUMENTS";}' \
'{"enabled" = 0;"name" = "MESSAGES";}' \
'{"enabled" = 0;"name" = "CONTACT";}' \
'{"enabled" = 0;"name" = "EVENT_TODO";}' \
'{"enabled" = 0;"name" = "IMAGES";}' \
'{"enabled" = 0;"name" = "BOOKMARKS";}' \
'{"enabled" = 0;"name" = "MUSIC";}' \
'{"enabled" = 0;"name" = "MOVIES";}' \
'{"enabled" = 0;"name" = "PRESENTATIONS";}' \
'{"enabled" = 0;"name" = "SPREADSHEETS";}' \
'{"enabled" = 0;"name" = "SOURCE";}' \
'{"enabled" = 0;"name" = "MENU_DEFINITION";}' \
'{"enabled" = 0;"name" = "MENU_OTHER";}' \
'{"enabled" = 0;"name" = "MENU_CONVERSION";}' \
'{"enabled" = 0;"name" = "MENU_EXPRESSION";}' \
'{"enabled" = 0;"name" = "MENU_WEBSEARCH";}' \
'{"enabled" = 0;"name" = "MENU_SPOTLIGHT_SUGGESTIONS";}'
You can rearrange that list as whatever is closer to the top takes a higher search priority for your search results. Any line that has "enabled" = 1 means that it is ON. Any line that has "enabled" = 0 means that it is OFF. So ensure that MENU_WEBSEARCH is set to 0.
Feel free to enable or disable any other section you don't wish Spotlight to look for results in.
File is located...
/Users/YourUserName/Library/Preferences/com.apple.Spotlight.plist
Spotlight understands certain query keywords that help narrow your search. If you typed the following, your top choice would be your music, and not a Safari link:
kind:music name:fragil
As an example of this, I have Leslie Feist's song 1 2 3 4 on my Mac as a .mp3. The following two different Spotlight queries show it as a top search result:
kind:music name:1 2 3 4
name:"1 2 3 4"
You will never see me use some hack posted on the Internet to game Spotlight, and one consequence might be destroying the Spotlight plist which will really cause a bad day.
Even something as simple as the following gets the music as the first result:
author:feist
In Sys Prefs>Spotlight>Search Results, what all is checked?
That's helpful but it doesn't fix the underlying problem - and I don't think something could.
However, similar to filtering as you suggested, I also got the idea of:
And it's quite acceptable.
Thanks
Not all is checked there but there's is no option for Safari either
I'm not sure, but I think it has the strange name of Spotlight Suggestions or something like that.
It's named 'Siri suggestions' and it is unchecked in my case.
Here's a similar case as posted on reddit: https://www.reddit.com/r/MacOS/comments/w1xn84/how_can_i_disable_web_searches_in_spotlight_i/
Spotlight safari first result