Is there a way to feed base64 encoded string to the ingest_attachment plugin or fscrawler?

You need to provide an example of an indexed document and a query which does not match.

I thought you would like to give a link to the user to the original document in the search response.
If you don't need that, then remove that url I added.