Mailing List Archive

java 17 and older lucene (4.x)
Hello,

Just wondering if anyone has patched lucene 4.x for usage with java 17+ and willing to share their work? anything would be appreciated.

No we cannot upgrade lucene, and will likely spend time to try to backport/patch it ourselves, but maybe someone already has? if anyone has interest in our results let me know as well.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: java 17 and older lucene (4.x) [ In reply to ]
Hi,

Lucene >=5.5.4 should work with Java 11 or 17 out of box, versions
before will not fully work, unless you use another directory
implementation than MMapDirectory. So theoretically you can use
NIOFSDirectory and it should work also in Lucene 4.

Officially only Lucene 6+ is supported with Java 9 or later, but some
patches were backported to 5.5.x.

To find the correct issue numbers to backport look for "Java 9" in the
changelog (e.g. start here
https://lucene.apache.org/core/5_5_5/changes/Changes.html).

Uwe

Am 26.09.2022 um 10:20 schrieb Thomas Matthijs:
> Hello,
>
> Just wondering if anyone has patched lucene 4.x for usage with java 17+ and willing to share their work? anything would be appreciated.
>
> No we cannot upgrade lucene, and will likely spend time to try to backport/patch it ourselves, but maybe someone already has? if anyone has interest in our results let me know as well.
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
--
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: uwe@thetaphi.de


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org