The Java client documentation shows RestClient as the transport for OpenSearchClient.
In opensearch-rest-client:3.8.0, org.opensearch.client.RestClient is deprecated. Its deprecation message says: “please consider using official OpenSearch Java Client or RestHighLevelClient”.
In #5424 and #6420, it is proposed to also deprecate RestHighLevelClient
On https://docs.opensearch.org/latest/clients/ it says:
The OpenSearch Java high-level REST client will be deprecated starting with OpenSearch 3.0.0 and will be removed in a future release. Switching to the Java client is recommended.
Is it possible to update the Java client docs and the deprecation message of org.opensearch.client.RestClient in order to make sure people don't accidentally 'upgrade' to RestHighLevelClient?
Edit:
Accidentally put this in the security repo, should've been OpenSearch 🙈
The Java client documentation shows
RestClientas the transport forOpenSearchClient.In
opensearch-rest-client:3.8.0,org.opensearch.client.RestClientis deprecated. Its deprecation message says: “please consider using official OpenSearch Java Client or RestHighLevelClient”.In #5424 and #6420, it is proposed to also deprecate
RestHighLevelClientOn https://docs.opensearch.org/latest/clients/ it says:
Is it possible to update the Java client docs and the deprecation message of
org.opensearch.client.RestClientin order to make sure people don't accidentally 'upgrade' toRestHighLevelClient?Edit:
Accidentally put this in the
securityrepo, should've beenOpenSearch🙈