I need to update ArrayList value into elastic search using java Api. My Array list values are
[
{
"date": "2014-03-31T03:39:48.025Z",
"id": 123000,
"details": "details"
},
{
"date": "2014-03-31T03:39:48.025Z",
"id": 1230,
"details": "message"
}
]
I am using the following Code for Update the data to Elastic Search that is
bulkRequest.add(
client.prepareUpdate("dt","dt","115300").setScript("ctx._source.notes="" + arraylistvalue+ ""));
How to update the complex type of data to Elastic search using Java API