Storing ElasticSearch query results in AVRO file

Hai,
I want to store my ElasticSearch query output in AVRO format or to store it in an AVRO file. Please guide whether is it possible to do in ElasticSearch

Sreejith Pillai wrote:

I want to store my ElasticSearch query output in AVRO format or to
store it in an AVRO file. Please guide whether is it possible to do
in ElasticSearch

There is no Avro support built into ES, nor do I see any plugins for
it. It should be trivial, however, to convert its default JSON
output to Avro, or if you're using the Java API, translate responses
to the Avro equivalent and build your own files.

-Drew

--