Wrapping pdfs to exclude them from search

I’d like to be able to wrap a pdf attachment so that I can keep it in Bear and not have it match with 99% of my searches (happens with very long pdfs). Another benefit could be improved performance.