I am a newcomer in ElasticSearch and trying to develop a batch file in Java. I have two parts of my question:
The functionality of this batch will be to run a query like the below:
When I run this query from Sense it is working fine and giving the output in a JSON format. I just want to capture this JSON output
in a JSON flat file by Core Java code. Please suggest some sample code and the kind of JARs (with its version) I need to have for the same.
Please let me know in case I try to capture only those records w.r.t SYSDATE-1 how will I form the query considering "DATE" type column is "Created_Date".
Thanks in advance..