cpoerschke commented on PR #1999:
URL: https://github.com/apache/solr/pull/1999#issuecomment-1898791814

   > Looking at these build failures and the error message generated, it 
appears that it may be caused by us using Java 11 and OpenNLP being compiled 
with Java 17?? ... Is this a deal breaker for this PR?
   
   Hmm, interesting. So we have:
   * OpenNLP as minimum Java17 as you mention -- 
https://github.com/apache/opennlp/blob/opennlp-2.3.1/pom.xml#L167
   * Lucene as minimum Java11 -- 
https://github.com/apache/lucene/blob/releases/lucene/9.9.1/build.gradle#L75-L76
   * Solr as minimum Java11 -- 
https://github.com/apache/solr/blob/releases/solr/9.4.1/build.gradle#L88
   
   So if the classes here were built as an independent 
[plugin](https://solr.apache.org/guide/solr/latest/configuration-guide/solr-plugins.html)
 (with minimum Java17) and then deployed (with the relevant dependencies) into 
a Solr setup running Java17 with the original Solr artefacts (built with 
Java11) -- I wonder if that would work?
   
   Also noting that https://github.com/apache/lucene/pull/579 bumped Lucene to 
Java17 on `main` branch i.e. presumably then a future Lucene10 will be minimum 
Java17 version.
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to