This is a neat feature available in OpenSearch via an optional ingest-attachment
plugin. It’s installed on AWS domains by default.
Download OpenSearch, install the ingest-attachment
plugin, and start it.
I’m using OpenSearch 2.10.
Create an ingest pipeline.
Download a dummy PDF.
Ingest the PDF.
Search.