janhoy commented on PR #4134: URL: https://github.com/apache/solr/pull/4134#issuecomment-4849084327
This bump is blocked for the 10.x line by a **Java version requirement**. `cuvs-lucene` 26.06.0 is compiled for **Java 22** (class-file major version 66), whereas Solr 10.x has a **Java 21** baseline. The build fails under `-Werror` with: ``` major version 66 is newer than 65, the highest major version supported by this compiler ``` For reference: - `cuvs-lucene` 25.12.0 (current) → Java 21 ✓ - `cuvs-java` 26.06.0 (already on `main`) → Java 21 ✓ - `cuvs-lucene` 26.06.0 (this PR) → **Java 22** ✗ So the current version skew (java 26.06 / lucene 25.12) is harmless, and this upgrade can only land in **Solr 11.0**, once the minimum Java requirement is raised. Note for whoever picks this up in 11.0: the API also changed — `Lucene99AcceleratedHNSWVectorsFormat(int×6)` is replaced by `Lucene99AcceleratedHNSWVectorsFormat(AcceleratedHNSWParams)` built via `AcceleratedHNSWParams.Builder` — so `CuVSCodec` will need a small migration. Setting to draft until Solr 11.0. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
