An exampes that demonstrates how we update multiple fields on elastic search document
Map<String, Object> updateObject = new HashMap<String, Object>();
updateObject.put("field1", "updated value for fields1");
updateObject.put("field2", "updated value for fields2");
updateObject.put("field3", "updated value for fields3");
Boolean meessage = client.prepareUpdate("indexName","indextype","documentId").setDoc(updateObject).setRefresh(true).execute().actionGet();
indexName will be your index name IndexType will be your index type documentId will be your documentId which is going to update client is your ElasticSeach client for JAVA API