Is it correct to have categories as filters?

I am currently working on an internal search application where users will be able to search within the repository. We have categories and authors for segregating different documents. There can be different filters once I change the tabs as well as shown in image 2. Is it correct to have categories as filters? Also, how do I show filters that appear within categories?

enter image description here