Low-level Java client

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 2.9

Describe the issue:
Java client - OpenSearch Documentation says…

The OpenSearch Java client allows you to interact with your OpenSearch clusters through Java methods and data structures rather than HTTP methods and raw JSON.

So is there another (low-level) client which would allow me to interact with raw JSON requests and responses (and help in improving latency by avoiding serialisation and deserialisation)?

Configuration: N/A

Relevant Logs or Screenshots: N/A

You could use RestClient [1], however it is deprecated and is not recommended for use. You mught be rather interested in [2], thank you

[1] OpenSearch/client/rest/src/main/java/org/opensearch/client/RestClient.java at main · opensearch-project/OpenSearch · GitHub
[2] [FEATURE] Enable Generic HTTP Actions in Java Client · Issue #377 · opensearch-project/opensearch-java · GitHub

Thanks @reta

But as per Java high-level REST client - OpenSearch Documentation, OpenSearch/client/rest-high-level/src/main/java/org/opensearch/client/RestHighLevelClient.java at main · opensearch-project/OpenSearch · GitHub is deprecated, not [1].

Is [2] going to be integrated anytime soon?

We are working on that as we speak, thank you