Hello, OSHM
The behavior you describe is indeed a bit strange, but it is not uncommon in Windows File Explorer, especially when searching PDF content indexes. Your current system has PDF iFilter installed, which is good, but we need to check a few key points to resolve the problem:
Possible Causes & Fixes:
- The Subfolder Is Not Indexed
Even though the parent folder is indexed, Windows Search might not have included the Sub folder specifically. Windows Search behaves differently when searching within a folder that’s not indexed, even if its parent is.
How to Fix:
Open Control Panel > Indexing Options.
Check if this path is included:
C:\Users\Me\Documents\Main\Sub
If not, click Modify and manually add it.
Then click Advanced > Rebuild Index (optional but recommended).
Note: Rebuilding the index may take time depending on the number of files.
- PDF Files Are Not Properly Indexed
- Even with PDF iFilter installed, it might not be actively indexing the contents — either due to:
- Improper configuration, or
- The PDFs are image-based (e.g., scanned documents), which iFilter can't read.
How to Check:
- Right-click one of the problematic PDF files in the Sub folder.
- Choose Properties > Details tab.
- Look for a "Content" field — if it's missing or empty, it means Windows Search can't read the file contents.
Also:
Go to Control Panel > Indexing Options > Advanced > File Types.
Search for pdf and ensure:
It's checked
It's set to “Index Properties and File Contents”
- Explorer View or Cache Glitch
Windows Explorer sometimes behaves inconsistently across folders — especially if it's cached or the folder type view is different.
Try:
- Clearing File Explorer search history:
- Go to Control Panel > File Explorer Options
- Click Clear next to "Clear File Explorer history"
- Try using search syntax explicitly:
content:yourKeyword
- Verify Indexing via PowerShell (Optional Advanced Check)
To verify whether the content is being indexed, you can use PowerShell or a COM object like this:
$searcher = New-Object -ComObject "Microsoft.Windows.Search.QueryHelper"
$searcher.QueryContent = "yourKeyword"
$searcher.QueryWhereRestrictions = "'System.ItemPathDisplay' LIKE '%\\Sub\\%'"
$searcher.QuerySelectColumns = "System.ItemName, System.ItemPathDisplay"
$searcher.Execute()