I am using Elastic Search Rest Client 6.2.4.
Can you help me with some example how to check if an alias exists using Rest Client and how to create alias using HighLevelRestClient.
I have searched, but i couldn't found any examples related to this.
You are not migrating from the Low Level to the High Level Rest Client if this is what you meant. The High Level uses the Low Level client. It adds parsers to write and read Elasticsearch objects instead of letting you doing that manually.
There might be a difference but if there's really a big problem you can always start a local coordinating node which joins the cluster and use the rest client on localhost. Http test data will just be sent locally. The node will send the data to the cluster using the binary transport protocol.
Last thing: there's no other choice if you want to be ready for elasticsearch 8.x.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.