It is possible extract the text contents of PDFs and images using Optical Character Recognition (OCR). The contents can then be included in searches.
This page describes how to enable search in asset contents. The setup consists of two steps:
Content extraction with Microsoft Azure Cognitive Services.
Including asset contents in searches.