Elasticsearch 8 new Java client - How to convert UpdateResponse to POJO

I am using the new Java client (v8.3.1) for Elasticsearch 8, and I could not find a way to convert the update response (UpdataResponse) to a POJO. The example code is as following:

UpdateResponse response = esClient.update(u -> u

It would be greatly appreciated if anyone could help me with this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.