-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] update the documentation to reflect the deprecated RestTransportClient #5772
Comments
@VachaShah - Hi Vacha, can you please take a look at this and provide some guidance? Thanks! |
Hi @wbeckler - Can someone on your team respond to this in Vacha's absence? Thanks! |
In the current 2.x line of the Java client, the |
Thanks or the clarification, @Xtansia ! Can you please add the appropriate text to the file and create a PR? We'll then review it and get it published. Thanks. |
I feel like that extended deprecation plan might be overly conservative. Where is it stated? |
@wbeckler The main issue about the RestClientTransport deprecation specifically is this one: opensearch-project/opensearch-java#326 |
What do you want to do?
Hi there,
I learned from this page that the high level rest client is deprecated.
https://opensearch.org/docs/latest/clients/java-rest-high-level/
Then, I navigated to the java client documentation and was reviewing the options.
https://opensearch.org/docs/latest/clients/java/
One of the options says to use the Rest Client, without any deprecation notice. https://opensearch.org/docs/latest/clients/java/#installing-the-client-using-restclient-transport
So it made me think it's a different package that won't be deprecated. But looking at the source, I noticed this deprecation annotation.
https://github.com/opensearch-project/opensearch-java/blob/261cab4cf79e176b0892cfb44fad7c8cfaf44204/java-client/src/main/java/org/opensearch/client/transport/rest_client/RestClientTransport.java#L75
Am I correct then in assuming this will also be deprecated?
If so, I think mentioning this in the java client page would be very helpful.
Thanks!
Tell us about your request. Provide a summary of the request and all versions that are affected.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
The text was updated successfully, but these errors were encountered: