Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16958

Spurious warning logged when using latest luceneMatchVersion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 9.2, 9.3, 9.2.1
    • 9.4
    • None
    • None

    Description

      Moving to Solr 9.3 I specified <luceneMatchVersion>9.7.0</luceneMatchVersion> 

      In the logs I saw

      SolrConfig You should not use LATEST as luceneMatchVersion property: if you use this setting,​ and then Solr upgrades to a newer release of Lucene,​ sizable changes may happen. If precise back compatibility is important then you should instead explicitly specify an actual Lucene version.

       

      That's a result of https://github.com/apache/solr/commit/05f61f60bb631662035439f84edf5df9e06b5790#r126093986 changing the comparison to use equals() rather than == as it did previously.

      Attachments

        Activity

          People

            colvinco Colvin Cowie
            colvinco Colvin Cowie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: