Solr 7.x是否支持Java 11? [英] Does Solr 7.x have support for Java 11?

查看:97
本文介绍了Solr 7.x是否支持Java 11?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我们的应用程序与Spring Data Solr + Apache Solr 5.3 + Java 8一起运行

Currently our applications runs with Spring Data Solr + Apache Solr 5.3 + Java 8

我们正在将系统升级到Java 11. Apache Solr最新版本支持Java 11吗?

We are upgrading our systems to Java 11. Does Spring Data Solr & Apache Solr latest version support Java 11 ?

推荐答案

Solr 7.6 支持"Java 8或更高版本" .然而 . . . .

Solr 7.6 supports "Java 8 or greater". However . . . .

  • 根据 Solr新闻,它似乎已经过10次测试并受支持 li>
  • 尽管Java 11发行说明可能暗示有些向后兼容性问题,可能会使人们大失所望
  • Solr Apache JIRA中的
  • 此故障单表示正在升级到较新的Java(JDK 11?)"已打开且尚未解决
  • 更确切地说:截至2018年底,
  • As per the Solr News it looks like 10 is tested and supported
  • Java is generally backwards compatible although Java 11 release notes might suggest has some backwards compatibility issues that might trip folks up in general
  • This ticket in the Solr Apache JIRA indicates that "Upgrading to a more recent Java (JDK 11?)" is open and unresolved
  • More definitively: As of late 2018, Java 11 was not yet recommended according to the good folks at LucidWorks. "The recommendation is to stay with JDK-8 until the Apache project officially supports JDK-11."

基于以上所述,听起来Java 8是安全的选择,10可能可行但有风险,而11则是正确的"(对Monty Python和The Holy Grail而言).

Based on the above it sounds like Java 8 is the safe bet, 10 might work but is risky and 11 is "right out" (h/t to Monty Python and the Holy Grail)

这篇关于Solr 7.x是否支持Java 11?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆