How can I download content from Elasticsearch

I have an UI to upload document which is getting indexed in Elasticsearch 7.0. I want to download the file from elasticsearch after getting indexed by clicking download button .

Need suggestion ASAP.

Read this and specifically the "Also be patient" part.

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.

What kind of "document" do you mean? A JSON document?

I want to download the file from Elasticsearch after getting indexed by clicking download button.

Do you mean a binary file?

Thanks for the response............No, it's pdf file

The only way is to store the document as a binary field in BASE64.
At search time you will need to read that field an decode yourself.

I am able to download the file from the UI. Thanks :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.