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

System Collection should use the correct luceneMatchVersion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • blobstore
    • None

    Description

      Whenever we create the system collection, the solrconfig is hard-coded and comes from SystemCollectionSolrConfig.java 

      Here we always set the luceneMatchVersion to the latest instead of the lucene version that is being released.

      When you go to create the collection we will get this warning the logs

      WARN  - 2018-06-19 14:53:00.400; [c:.system s:shard1 r:core_node2 x:.system_shard1_replica_n1] org.apache.solr.core.Config; 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.

      The downside is if a user upgrades Solr then the new docs analysis behaviour could differ. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varun Varun Thacker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: