Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We should upgrade and fix code accordingly the opensearch-java client from 2.1.0 to its latest version, 2.6.0.
Also, referring to the official doc: https://opensearch.org/docs/latest/clients/java/
It seems the opensearch-java client now has its own http client transport. We need to try to refactor the code to use this instead of the transport client privded by the opensearch-rest-client dependency, which would allow us to drop it.
Then we need to do some performance tests to measure if such adoption has any impact or not. If the tests are conclusive enough, we should adopt it and drop the opensearch-rest-client dependency once and for all.