[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ElasticSearch use of rest client (instead of TransportClient)

That's mainly because the Java drivers changed in a way that made impossible to use the same adapter. I might be wrong, but I think the ES5 adapter doesn't work with an ES2 server instance just like the ES2 adapter doesn't work with an ES5+ server instance.

If all of this could just go away, that would be great :)

Mit freundlichen Grüßen,
*Christian Beikov*
Am 18.05.2018 um 21:19 schrieb Andrei Sereda:
Yes it should be, since it is just an http client (apache http).
ElasticSearch Rest API (query API) didn't change much

Next question would be : why there is a need in two separate modules
elasticsearch2 and elasticsearch5

On Fri, May 18, 2018 at 3:11 PM, Christian Beikov <
christian.beikov@xxxxxxxxx> wrote:

Hey Andrei,

that would be awesome! Do you know by any chance if the low level client
is also compatible with older ES versions?

Mit freundlichen Grüßen,
*Christian Beikov*
Am 18.05.2018 um 20:45 schrieb Andrei Sereda:


ES TransportClient is deprecated in 7.0 (to be removed
in 8.0) in favor of http rest client(s). Would you consider a contribution
switching to Rest Low-Level Client
has much fewer dependencies) ?