As I am working through the site and building it, I have come across a small issue I wish to fix.
My current setup, which works for our site well, is using a "Vault" system. One document library with many folders and files. I then use content query to pull certain files to certain pages. This works great.
The problem is, when someone searches for a document, more often than not the directory the document is in appears either at the top or very near the top of the search results.
I am trying to hide all folders from appearing and only showing documents or pages, no need to show any document library, lists, sub-sites or folders.
Can this be done?