This file lists Solr's raw release notes with details of every change to Solr. Most people will find the solr-upgrade-notes.adoc file more approachable. https://github.com/apache/solr/blob/main/solr/solr-ref-guide/modules/upgrade-notes/pages/solr-upgrade-notes.adoc
./server/scripts/cloud-scripts/zkcli.sh -zkhost 127.0.0.1:2181 -cmd clusterprop -name legacyCloud -val true
To migrate your existing solrconfig.xml, you can replace elements as follows:
<!-- TieredMergePolicy example --> <!-- deprecated --> <mergeFactor>??</mergeFactor> <mergePolicy class="org.apache.lucene.index.TieredMergePolicy"> <bool name="useCompoundFile">???</bool> <!-- deprecated since Lucene/Solr 4.4.0 --> ... </mergePolicy> <!-- replacement --> <useCompoundFile>???</useCompoundFile> <!-- since Lucene/Solr 4.4.0 --> <mergePolicyFactory class="org.apache.solr.index.TieredMergePolicyFactory"> <int name="maxMergeAtOnce">??</int> <!-- formerly the <mergeFactor> element implicitly set this --> <int name="segmentsPerTier">??</int> <!-- formerly the <mergeFactor> element implicitly set this --> ... </mergePolicyFactory>
<!-- Log(ByteSize|Doc)MergePolicy example --> <!-- deprecated --> <maxMergeDocs>????</maxMergeDocs> <mergeFactor>??</mergeFactor> <mergePolicy class="org.apache.lucene.index.Log?MergePolicy"> <bool name="useCompoundFile">???</bool> <!-- deprecated since Lucene/Solr 4.4.0 --> ... </mergePolicy> <!-- replacement --> <useCompoundFile>???</useCompoundFile> <!-- since Lucene/Solr 4.4.0 --> <mergePolicyFactory class="org.apache.solr.index.Log?MergePolicyFactory"> <int name="maxMergeDocs">????</int> <!-- formerly the <maxMergeDocs> element set this --> <int name="mergeFactor">??</int> <!-- formerly the <mergeFactor> element set this --> ... </mergePolicyFactory>