This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch jira/SOLR-18395 in repository https://gitbox.apache.org/repos/asf/solr.git
commit 55baf1836f13cb838e7c084e387d8e903bc57c51 Author: Chris Hostetter <[email protected]> AuthorDate: Mon Aug 24 14:12:58 2026 -0700 SOLR-18395: Step #3: update luceneMatchVersion (and update docs to include this step) --- dev-docs/lucene-upgrade.md | 8 ++++++++ solr/server/solr/configsets/_default/conf/solrconfig.xml | 2 +- .../configsets/sample_techproducts_configs/conf/solrconfig.xml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-docs/lucene-upgrade.md b/dev-docs/lucene-upgrade.md index dd17ef42380..c334f607e6d 100644 --- a/dev-docs/lucene-upgrade.md +++ b/dev-docs/lucene-upgrade.md @@ -46,6 +46,14 @@ git add solr/licenses * conceptually `s/org.apache.lucene.codecs.lucene10x.Lucene10x/org.apache.lucene.codecs.lucene104.Lucene104` * if the Lucene codec version changed, add an entry in `solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc` noting the codec change and warning users that downgrading to a prior Solr version after this upgrade may require a full reindex +## luceneMatchVersion + +If this is a minor or major Lucene upgrade, the `luceneMatchVersion` in `solr/server/solr/configsets/*/conf/solrconfig.xml` will need to be updated. + +``` +perl -i -ple 's{<luceneMatchVersion>10.4</luceneMatchVersion>}{<luceneMatchVersion>10.5</luceneMatchVersion>}' solr/server/solr/configsets/*/conf/solrconfig.xml +``` + ## Test ``` diff --git a/solr/server/solr/configsets/_default/conf/solrconfig.xml b/solr/server/solr/configsets/_default/conf/solrconfig.xml index dbb1924c44b..2a751011bbd 100644 --- a/solr/server/solr/configsets/_default/conf/solrconfig.xml +++ b/solr/server/solr/configsets/_default/conf/solrconfig.xml @@ -35,7 +35,7 @@ that you fully re-index after changing this setting as it can affect both how text is indexed and queried. --> - <luceneMatchVersion>10.4</luceneMatchVersion> + <luceneMatchVersion>10.5</luceneMatchVersion> <!-- Data Directory diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml b/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml index e70e689b1a5..26eb825019b 100644 --- a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml +++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml @@ -35,7 +35,7 @@ that you fully re-index after changing this setting as it can affect both how text is indexed and queried. --> - <luceneMatchVersion>10.4</luceneMatchVersion> + <luceneMatchVersion>10.5</luceneMatchVersion> <!-- Data Directory
