Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Switch search locations via keyboard shortcut' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Switch search locations via keyboard shortcut
Authored by: fastred1 on May 17, '08 01:43:36AM

Cmmd Shift F lets you search by Name Contains, but you are still doing a Contents search. Why this instead of switching to a File Name search? It seems like the results would be the same, but a Contents search would potentially be slower.



[ Reply to This | # ]
10.5: Switch search locations via keyboard shortcut
Authored by: hombre on May 19, '08 04:28:01AM

They are not the same. If you search for "test" raw query for Name contains is (((kMDItemDisplayName = "*test*"cd))) && (true), while for Filename is ((true) && (true)) && ((kMDItemDisplayName = "test*"cdw)). The former gets 251 results in my home directory, the latter 165. The difference (I think) is the filename search only gets matches at the beginning of a word, so, e.g., "25 Greatest Sun Recordings" shows up in the Name search but not in the Filename search.



[ Reply to This | # ]
10.5: Switch search locations via keyboard shortcut
Authored by: hombre on May 19, '08 04:40:25AM

Just to be clear, even though "Contents" is highlighted the "Name contains" search is not a search of contents. Also, "Name matches" seems to be the same as the Filename search.



[ Reply to This | # ]