I have a SharePoint 2019 farm wich shows some sort of search issues I don't get to pinpoint. Everything seem to work but if you start to search for certain documents they don't show up as results. The weird stuff is when looking for a document with a given data. Let's see the information:
Files are structured in site collections and libraries.
Each library has a folder to store "original" documents (admin eyes only)
For each original document there is one o more pdf documents in the root of the library
Each document is named after an identification ID (eg 2005-0000003943)
If you search for this ID most of the times the results just show the pdf file (although it sometimes shows both original and pdf file)
The thing is the refinement panel shows both PDF and Original format (zip, xls, etc.) and if I select the original extension the it shows the original file.
Things I have already checked, tryed:
Permissions, everything ok, I'm using an administrator account and permissions checks are fine.
Compared both files to see if any metadata is different
Exported list to check internal and native metadata
Redone the index, full crawl included
I cannot understand why it hides the original file by default but I'm able to see it if I use the refinement panel or why it sometimes shows both documents (the expected behaviour)