This page in particular: Using the Java API Client | Elasticsearch Java API Client [8.6] | Elastic . Is not fleshed out enough.
Coming from the old client and trying to migrate my elastic update calls to the new client took me so long because there were not sufficient examples. I had to search through test code on github to find a good example on how to add a document to an update call.
This would be a quick update and would hopefully help user's like me looking to udpate to the new client