Closed frank-montyne closed 6 months ago
I also encountered the same problem
Hello, thank you for the report!
I saw in the thread that @dadoonet proposed a course of inquiry, could you please tell me what the result of that was?
The problem was solved in 8.12.2.
Thanks for the follow-up
On Wed, Feb 28, 2024 at 6:38 PM Laura Trotta @.***> wrote:
Hello, thank you for the report!
Discuss thread for reference https://discuss.elastic.co/t/elasticsearch-8-12-1-with-highlevelrestclient-javaclient-not-working/353888
I saw in the thread that @dadoonet https://github.com/dadoonet proposed a course of inquiry, could you please tell me what the result of that was?
— Reply to this email directly, view it on GitHub https://github.com/elastic/elasticsearch-java/issues/752#issuecomment-1969505994, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJKQL5HLX5UOMBMHJG44DDYV5TPTAVCNFSM6AAAAABDVBAGUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGUYDKOJZGQ . You are receiving this because you authored the thread.Message ID: @.***>
Closing then. Thanks.
Java API client version
8.12.1
Java version
21
Elasticsearch Version
8.12.1
Problem description
I'm trying to use Elasticsearch 8.12.1 with both the 7.17.18 HighLevelRestClient and the new 8.12.1 JavaClient.
I am using the 7.17.18 artifacts for all the org.elasticsearch and org.elasticsearch.client artifacts and the 8.12.1 version for the co.elastic.clients elasticsearch-java artifact.
When I try to connect I get the following error:
When I downgrade for the JavaClient to 8.11.4 I can connect without any problem. All 8.12.x versions produce the NoSuchMethodError
Am i doing something wrong?
I also saw that for all the org.elasticsearch and org.elasticsearch.client artifacts there are now 8.12.1 versions except for the elasticsearch-rest-high-level-client. Am I supposed to use these versions together with the elasticsearch-rest-high-level-client 7.17.18 version? I tried that out but when I use the 8.12.1 versions there are a lot of changes/omissions in the aggregations. AutoDateHistogramBuilder is not present, movingFuncton and normalize is missing... Even when doing a simple connect I get an error stating that the class org.elasticsearch.action.admin.indices.flush.SyncedFlushRequest is not found. Is this a work in progress?
All help is welcome