Hello,
I'm using RestHighLevelClient 6.3.0 and wanted to migrate my "LowLevelClient" implementation of updating documents from
client.getLowLevelClient().performRequest("PUT", "/index/type/id", Collections.emptyMap(), new StringEntity("{...}", ContentType.APPLICATION_JSON));
to
final UpdateRequest updateRequest = new UpdateRequest("index", "type", "id");
updateRequest.doc("{...}",ContentType.APPLICATION_JSON);
client.update(updateRequest);
however it seems that the update method of the high level client is implicitly calling the /index/type/id/_update
endpoint with a HTTP POST, which is doing a partial update.
is there any way to do a "non-partial update" using the /index/type/id
with HTTP PUT ?
Best Regards,
Peter