https://lucene.apache.org/core/9_4_0/MIGRATE.html
Create a new branch locally e.g. git checkout -b lucene940 -t origin/main
for upgrading to Lucene 9.4.0 version.
versions.props
update- org.apache.lucene:*=9.3.0 + org.apache.lucene:*=9.4.0
versions.lock
updategradlew --write-locks
solr/licenses
updategradlew updateLicenses git add solr/licenses
gradlew compileJava
int
to long
type changes/org.apache.lucene.codecs.lucene9x.Lucene9x/org.apache.lucene.codecs.lucene94.Lucene94
gradlew compileTestJava
gradlew precommit
gradlew test
Push the local branch to github (fork) and open a pull request.
Thanks for reading these upgrade steps! But perhaps you were looking for information on trying out prerelease Lucene changes or joint local Solr and Lucene development? If so then please see the ‘Update Lucene prerelease’ and ‘Lucene local dependency substitution’ sections in the help/dependencies.txt documentation.