Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19813

Automatically migrate Solr cores when the major version changes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 16.2.0-rc-1
    • 14.4.1
    • Search - Solr
    • None
    • Integration
    • Unknown
    • N/A

    Description

      A given version of Solr only support the current and previous major version of Solr core schema so if you start upgrading XWiki to a version which has Solr 9 it won't be able to read Solr 7 cores.

      The current strategy is to recreate the solr search core and to reindex, but that does not work for core which cannot fully be recreated because they contain exclusive data (rating for example). We did not yet have the problem because we started introduce new cores when XWiki was using Solr 8.x, and it currently still use Solr 8.x, but we should fix that ASAP to avoid bad surprises in the future...

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: