I don't use windows search but, at least in the past, it took plugins to allow it to read through any format for which a plugin is registered. Of course MS included plugins for office files. Plugins for PDFs, zip files, etc. It's been around since the mid 90s. Sad if it's not working well.
https://docs.microsoft.com/en-us/windows/win32/search/-searc...