-
Notifications
You must be signed in to change notification settings - Fork 43
Support for ElasticSearch v5 ? #19
Comments
I've been looking into this, and while the transport client is a fairly trivial change, the node client is not. In addition, changes to the way ES is built are making it difficult to test in a packaged Dropwizard application:
As I say, the changes to the Transport client are fairly trivial, and seem to work as expected. My work so far is here, if anyone is interested: https://github.com/mattflax/dropwizard-elasticsearch/tree/elasticsearch-5.0 |
+1 @mattflax thanks for your solution! |
I've ended up disabling the NodeClient completely - Elastic reckon you should run a local coordinating node, and use the TransportClient to communicate with that. You can still use the setting at this stage, but it will throw an error. There's currently an error from log4j2 when starting the Dropwizard application - I can't figure out a way around that which doesn't break the Elasticsearch client classes (which rely specifically on log4j2). Do let me know if you have advice on better approaches to this issue - the approach I've ended up with feels a bit ham-fisted, so better suggestions would be appreciated! |
Hi,
I'm getting error
java.lang.IllegalStateException: Received message from unsupported version: [2.0.0] minimal compatible version is: [5.0.0]
when making request to ElasticSearch v5.Will there be a release for ElasticSearch v5.x support soon?
The text was updated successfully, but these errors were encountered: