Adapt low-level REST client to java 8 (#41537)

As a follow-up to #38540 we can use lambda functions and method
references where convenient in the low-level REST client.

Also, we need to update the docs to state that the minimum java version
required is 1.8.
This commit is contained in:
Luca Cavanna 2019-05-03 11:15:24 +02:00 committed by GitHub
parent cbed3fc75f
commit ee51702e78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 51 additions and 127 deletions

View file

@ -14,7 +14,7 @@ The javadoc for the low level REST client can be found at {rest-client-javadoc}/
The low-level Java REST client is hosted on
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.elasticsearch.client%22[Maven
Central]. The minimum Java version required is `1.7`.
Central]. The minimum Java version required is `1.8`.
The low-level REST client is subject to the same release cycle as
Elasticsearch. Replace the version with the desired client version, first