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

Remove legacy solr.xml mode

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:


      On the Solr Cores and solr.xml page, the Solr Reference Guide says:

      Starting in Solr 4.3, Solr will maintain two distinct formats for solr.xml, the legacy and discovery modes. The former is the format we have become accustomed to in which all of the cores one wishes to define in a Solr instance are defined in solr.xml in <cores><core/>...<core/></cores> tags. This format will continue to be supported through the entire 4.x code line.

      As of Solr 5.0 this form of solr.xml will no longer be supported. Instead Solr will support core discovery. [...]

      The new "core discovery mode" structure for solr.xml will become mandatory as of Solr 5.0, see: Format of solr.xml.

      AFAICT, nothing has been done to remove legacy solr.xml mode from 5.0 or trunk.


        1. SOLR-6840.patch
          279 kB
          Alan Woodward
        2. SOLR-6840.patch
          3.40 MB
          Alan Woodward
        3. SOLR-6840.patch
          470 kB
          Alan Woodward
        4. SOLR-6840.patch
          323 kB
          Alan Woodward
        5. SOLR-6840.patch
          174 kB
          Alan Woodward
        6. SOLR-6840.patch
          91 kB
          Erick Erickson

        Issue Links



            • Assignee:
              romseygeek Alan Woodward
              sarowe Steven Rowe


              • Created:

                Issue deployment