Most folks browse the web and some do so often. This creates a history which Safari conveniently stores for future reference. The feature is especially useful when you go to “History -> Show All History”.
What isn’t so useful is searching for a file and receiving thousands of results for “Safari history item”. This shouldn’t be an issue because there is an option to remove “Safari” from Search Results, however, this option fails to remove Safari history items from Spotlight search results.
To disable Spotlight from searching “Safari history item”:
- Open System Preferences, go to Spotlight and click on Privacy pane
- open a new Finder window
- browse to <home> /Library/Caches/Metadata/Safari
- Drag and drop “History” folder from Finder to Privacy pane
- Filtering Specific Mailboxes: browse to Library/Mail/
- Find offending .imapbox, .mbox, or any other; drag and drop onto Privacy pane
As far as I can tell you can filter many of the Spotlight searches by adding any of the folders in Library/Caches/Metadata. Here is what my Privacy settings look like:
Hopefully you made it here and didn’t see this: