I didn't find an existing bug with this requirement, so I am starting a new one. Koha supports uploading and linking to documents in bibliographic records, but there is no way to index the contents for search. I believe this would be easier to implement with Elasticsearch than with Zebra, as Zebra only indexes MARC.