Now my question is, when will Elasticsearch switch to Java 8? I know it
already runs on Java 8 but I mean Java 8 as the minimum requirement for
source and target code of the compiler.
I’ve personally been using Java 8 with ES for a while. Although I can’t say when we’ll stop support for Java 7, as you can see from our support matrix recent versions of ES are supported on Java 8.
Now my question is, when will Elasticsearch switch to Java 8? I know it already runs on Java 8 but I mean Java 8 as the minimum requirement for source and target code of the compiler.
I’ve personally been using Java 8 with ES for a while. Although I can’t
say when we’ll stop support for Java 7, as you can see from our support
matrix recent versions of ES are supported on Java 8.
Now my question is, when will Elasticsearch switch to Java 8? I know it
already runs on Java 8 but I mean Java 8 as the minimum requirement for
source and target code of the compiler.
You should be able to access es from java 8 source code. Most collection
classes will support streams already and lambdas and you can use lambdas in
many places where you would use inner classes otherwise. I suspect, a full
switch to java 8 might take some time for big projects such as
elasticsearch as it is kind of disruptive. Java 6 support was only
discontinued quite recently, I believe.
I've been using java 8 for a few months but we don't use the elasticsearch
internal API. We also run elasticsearch on Oracle java 8 without issues.
Jilles
On Thursday, January 22, 2015 at 9:50:38 AM UTC+1, Jörg Prante wrote:
No, that is not what I mean. I do not mean JVM support.
I mean compiler support for the source. Switching to lambda expressions,
streams, etc. - there is no version of ES that supports this.
I’ve personally been using Java 8 with ES for a while. Although I can’t
say when we’ll stop support for Java 7, as you can see from our support
matrix recent versions of ES are supported on Java 8.
Now my question is, when will Elasticsearch switch to Java 8? I know it
already runs on Java 8 but I mean Java 8 as the minimum requirement for
source and target code of the compiler.
You should be able to access es from java 8 source code. Most collection
classes will support streams already and lambdas and you can use lambdas in
many places where you would use inner classes otherwise. I suspect, a full
switch to java 8 might take some time for big projects such as
elasticsearch as it is kind of disruptive. Java 6 support was only
discontinued quite recently, I believe.
I've been using java 8 for a few months but we don't use the elasticsearch
internal API. We also run elasticsearch on Oracle java 8 without issues.
Jilles
On Thursday, January 22, 2015 at 9:50:38 AM UTC+1, Jörg Prante wrote:
No, that is not what I mean. I do not mean JVM support.
I mean compiler support for the source. Switching to lambda expressions,
streams, etc. - there is no version of ES that supports this.
Jörg
On Thu, Jan 22, 2015 at 2:52 AM, Andrew Selden <andrew...@elasticsearch.
com> wrote:
Hi Jorg,
I’ve personally been using Java 8 with ES for a while. Although I can’t
say when we’ll stop support for Java 7, as you can see from our support
matrix recent versions of ES are supported on Java 8.
Now my question is, when will Elasticsearch switch to Java 8? I know it
already runs on Java 8 but I mean Java 8 as the minimum requirement for
source and target code of the compiler.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.