Clarification regarding java api

Is this only applicable to java code? Python will still continue to use rest call?
I am having a very difficult time to find a documentation with comprehensive examples of various calls using java api; therefore, it's almost impossible for me to translate from REST to java api.

If this api is only designed for java, that means I should still be able to continue using REST calls from java, right? It's just that the REST library will not be maintained going forward.

Is my understanding correct?

Thanks.

May be this could help:

It's a blog post I wrote a long time ago and in the middle of it you will find how I'm using the IDE to help me building my code.

HTH

In your forum, the reference to RestClient when creating the api client.

Does that package come from org.elasticsearch or co.elastic.client?
I can't find it under co.elastic.*

It used to be org.elasticsearch but I think it changed with the client v9.
So it depends on what you are using as a version.

ok. org.elasticsearch is going away though, right?
I'll check version 9. I'm using 7.x.

We are using basic auth so the official doc's example of using api key doesn't apply to us.
This is the issue I'm having with migration. Taking tens of minutes if not hours just to change each call.
Do you know if this is only for java? Python still uses REST client?
I guess my point is trying to figure out if REST api is going away in the future or not.

Thanks.