-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade from JDK17 to JDK19+ #47
Comments
Either I have weak gradle knowledge or this is not trivial, here is how the Panama Vector API was integrated into Lucene for reference. https://github.com/apache/lucene/pull/12311/files |
Still have not figured out the vector API, we can disable this for the moment with |
Hmm the vector API uses multi-release JAR somehow. Lucene has specific sources switched depending on the JVM version, but should have compiled all versions (JDK 19, 20) into the Lucene core JAR. And it should have enabled Panama based Have we upgraded this benchmark to Lucene 9.7.0? |
Yes, the benchmark has been upgraded to and is running I tried adding Although even with |
+1 -- let's move forward with this upgrade and open a followon issue to get Panama MMAP working again? Crazy it's so hard ... the JDK version specific implementations should be in the Lucene core JAR already, under
|
I'll dig around some more, for now I'll temporarily disable |
Do we have an issue open to re-enable Panama MMAP in Lucene? I.e. to get to the bottom of the build / CLASSPATH mrjar issues. |
I'll create an issue now so that we don't forget about this :D |
As part of having all the the components updated to the newest versions, we should do the same for JDK.
Currently only JDK17 is supported. To upgrade to JDK 19 we need to enable Panama API and build
MemorySegmentIndexInputProvider
into the JAR.This is the current error message when running
make index
with JDK19The text was updated successfully, but these errors were encountered: