Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Description:
Currently, the project uses the following dependency for Elasticsearch operations:
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>7.4.2</version>
</dependency>
We need to replace this dependency with the official Elasticsearch Java client to ensure compatibility with newer versions and benefit from the latest features:
<dependency>
<groupId>co.elastic.clients</groupId>
<artifactId>elasticsearch-java</artifactId>
<version>9.0.3</version>
</dependency>
Acceptance Criteria:
Remove the elasticsearch-rest-high-level-client dependency from the project.
Add and configure the new elasticsearch-java client dependency (version 9.0.3).
Refactor all code that uses the old client to use the new client API.
Ensure all features and integration tests work correctly with the new client.
Update documentation and code comments as necessary to reflect the new client usage.
Technical Notes:
Review the migration guide and official documentation for the Elasticsearch Java client.
Adapt request/response handling, error management, and client configuration as required by the new API.
Attachments
Issue Links
- is duplicated by
-
UNOMI-851 Upgrade Elasticsearch High level REST client to 9.0
-
- Closed
-