You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Finder "Search" function showing every file instead of search parameter

I have an external volume that contains movie files and subtitles. When I open a Finder window to search that volume using search terms, i.e. "Star Wars, I get loads of files that don't contain those search terms in their Filenames.


If I select the "NAME" menu that pops up, then I do get correct Filename results. If I switch to using "Everything/ANY", I get file names that don't contain those terms.


I am assume that when I don't select a search type (NAME, KIND,) that Finder uses the "Everything/ANY" search type which is looking at content inside the files and not just at Filenames?


However, this functionality is at odds with what is shown on this Apple page describing the Finder Window "Search" feature.


They show entering a search term "bike" using an "Everything" search and only files containing the search term "bike" in the Filename are returned.


Which leads me to wonder if my macOS Catalina install is corrupted.


  1. Spotlight database is fresh... has been rebuilt, 2x, and is working correctly. Using spotlight I get correct hits on those files

Posted on Dec 31, 2021 1:47 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 1, 2022 8:09 AM

On the Apple link that you provided, did you read the linked content named:



That is also named Narrow your search results on Mac. This describes using Spotlight-specific reserved words. Your external volume would need to be in a Spotlight compatible format and indexed by Spotlight before you can search its contents from the Finder.

Similar questions

6 replies
Question marked as Top-ranking reply

Jan 1, 2022 8:09 AM in response to johnnyjackhammer

On the Apple link that you provided, did you read the linked content named:



That is also named Narrow your search results on Mac. This describes using Spotlight-specific reserved words. Your external volume would need to be in a Spotlight compatible format and indexed by Spotlight before you can search its contents from the Finder.

Dec 31, 2021 3:40 PM in response to johnnyjackhammer

If you just want to find files with names that contain a string xxxx, go to the File menu, select Find, and use the criterion that


Name contains xxxx


where xxxx is the string you want the filename to contain. If you don't specify Name contains, it will also include files that have xxxx somewhere inside the contents of the file.


This is how the search (Find, or Spotlight) function has worked for years on Macs.


The link you provided that had an example with "bike" in the search returned files that had "bike" in the filename, "bike" in the file contents, and also "bike" in the file meta data. It finds everything on the disk that has "bike" in any aspect of the file. The Find or Spotlight function has options that allow you to more narrowly limit the search.

Dec 31, 2021 4:55 PM in response to steve626

Thanks for the confirmation... on the behavior. You did a far better job explaining the feature.



As far as the example that Apple chose, your comment is incorrect...

steve626 wrote:

The link you provided that had an example with "bike" in the search returned files that had "bike" in the filename, "bike" in the file contents, and also "bike" in the file meta data. It finds everything on the disk that has "bike" in any aspect of the file. The Find or Spotlight function has options that allow you to more narrowly limit the search.

All three of the files shown in the image they chose, to explain Finder Search, have "bike" in their file names. We have no way of knowing what's in the metadata, or contents since that's not shared with us in that example. Meaning the image is misleading since they chose not to use the "NAME" Search and chose the "GREP" search

Dec 31, 2021 6:29 PM in response to johnnyjackhammer

I suggest you experiment a bit with the different search options. Try searching by contents, by filename, by date etc. using the different options. The MacOS does performs a "search" or "find" based on the options selected by the user. If the user selects no options, it will return with all files that have the text specified in the name, or in the contents, or in the metadata, etc. So lots of "finds" even if the filename does not match the search string, as one or more of those other things might provide a match.

Finder "Search" function showing every file instead of search parameter

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