High Level Rest Client and SyncedFlushRequest

Hi folks,

adding some signal here that I've run into the same issue as the below two

RestHighLevelClient and SyncedFlushRequest.

That is SyncedFlushRequest throws a

java.lang.NoClassDefFoundError: org/elasticsearch/action/admin/indices/flush/SyncedFlushRequest

Using

org.elasticsearch.client:elasticsearch-rest-high-level-client at 7.17.7 and
org.elasticsearch:elasticsearch at 8.10.0

For those running into the same issue, you're not supposed to upgrade to

org.elasticsearch:elasticsearch at 8.10.0

The computability is meant to be between client and server, you can't just have the client have two different versions of things.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.