Search By File Name Only

When you do a Finder “Find” (Command+f), the search is performed on the titles and contents of files. But if you just want to search file names, you can type “name:” before the term, such as “name:vacation”. You can also just type the search term and click the “Name matches:” option that appears underneath.