Why can desktop search find a file by name but not by words inside it?
Quick answer
On Windows, finding a file by name does not necessarily mean its contents are included in search. Check that the folder is indexed and that the file extension is set to include both properties and content, not properties only. If you recently added the folder or changed many files, indexing may still be underway, so results can be incomplete. These checks do not establish how search works on other desktop systems.
The question, the details, the next step.
A practical checklist
Record the file's actual folder and extension.
Check whether that folder is selected as an indexed location.
Inspect the extension in Advanced > File Types for properties-and-content handling.
If folders or many files were recently added or changed, allow time for indexing.
Retest the filename and a distinctive phrase, noting the results and time.
A few more useful answers
Does finding the filename prove the file's contents are indexed?
No. Windows can find a file by name when its contents are not searchable, including when indexing is set to properties only. [S1]
How long should I wait after adding a location?
Do these steps apply to macOS or Linux?
The cited instructions cover Windows settings. They do not establish the equivalent behavior or steps on macOS or Linux.
Sources
References used for this guide.
- [S1] Search indexing in Windows support.microsoft.com · Checked
- [S2] Troubleshoot Windows Search performance learn.microsoft.com · Checked
