elastic / elasticsearch-java

Official Elasticsearch Java Client
Apache License 2.0
397 stars 228 forks source link

What is the alternative to RestHighLevelClient for Spring Boot 3.3.0 and Java 21? #836

Closed hkathi-loyaltymethods closed 1 month ago

hkathi-loyaltymethods commented 1 month ago

Description

Since the RestHighLevelClient is deprecated since the 7.16.0 of the ElasticSearch Version https://github.com/elastic/elasticsearch/blob/78509f44d1e906f715b92abffdef1c467d4eaa2a/client/rest-high-level/src/main/java/org/elasticsearch/client/RestHighLevelClient.java#L253-L257

swallez commented 1 month ago

As written in the javadoc comment you linked to, "The High Level Rest Client is deprecated in favor of the Elasticsearch Java API Client" which is this repository. The documentation contains some instruction on getting started on the migration.

I'm closing this, as this is a question and not an issue. If you have further questions, please ask them in the Discuss forum. Thank you.