Version of elastic db and elastic API are different

We are using elastic db version 6.3.1.

In our spring boot application also, we have put the elastic api version as 6.3.1 in our build.gradle file.

We recently upgraded our spring boot version from 2.1 to 2.4

We removed the below lines in our build.gradle file as part of that.

apply plugin: 'io.spring.dependency-management'
apply plugin: 'jacoco'

After that, we are getting compile error while calling index and search code.
eclient.search(searchRequest);
Then we found out that its using elastic jar version 7.9.3
Elasticsearch-rest-high-level-client-7.9.3.jar

Is it ok to use this version if we have lower version of elastic db running?

Will there be any issue?

Welcome!

You should use the same version for the client and the server.

6.3.1 is EOL. Please upgrade ASAP to 6.8.20 or better, move to 7.15.1.

1 Like

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