Solr
  1. Solr
  2. SOLR-695

Make "single core" solr equivolent to "multicore" with a single configured core.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      Multicore vs single core configuration has caused a lot of confusion.

      To limit this confusion, I think we should:
      1. rename MultiCore to CoreContainer (SOLR-689)
      2. always register CoreContainer and include all valid cores within it.

      1. SOLR-695-no-singlecore.patch
        36 kB
        Ryan McKinley
      2. SOLR-695-refactor-multicore.patch
        28 kB
        Ryan McKinley

        Issue Links

          Activity

          Hide
          Ryan McKinley added a comment -

          Here is a patch (with loads of help from Henri) that gets rid of the "singlecore" concept. Single core is now a CoreContainer with one Core registered to the name ""

          The one functional change in this patch is that it adds a "managementPath" in the <solr/cores> xml configuration. This gives a way to access other cores when a core is registered to ""

          Show
          Ryan McKinley added a comment - Here is a patch (with loads of help from Henri) that gets rid of the "singlecore" concept. Single core is now a CoreContainer with one Core registered to the name "" The one functional change in this patch is that it adds a "managementPath" in the <solr/cores> xml configuration. This gives a way to access other cores when a core is registered to ""
          Hide
          Ryan McKinley added a comment -

          In the interest of getting this reviewed/tested ASAP, I will go ahead and commit this now... as always, we can revert if anything is amiss.

          Show
          Ryan McKinley added a comment - In the interest of getting this reviewed/tested ASAP, I will go ahead and commit this now... as always, we can revert if anything is amiss.
          Hide
          Ryan McKinley added a comment -

          Here is a patch that refactors the remaining "MultiCore" references.

          The key classes it renames are:

          • MultiCoreRequest -> CoreAdminRequest
          • MultiCoreResponse -> CoreAdminResponse
          • MultiCoreParams -> CoreAdminParams

          I also added:
          http://wiki.apache.org/solr/CoreAdmin

          a page that should replace (and get directed from) MultiCore

          Show
          Ryan McKinley added a comment - Here is a patch that refactors the remaining "MultiCore" references. The key classes it renames are: MultiCoreRequest -> CoreAdminRequest MultiCoreResponse -> CoreAdminResponse MultiCoreParams -> CoreAdminParams I also added: http://wiki.apache.org/solr/CoreAdmin a page that should replace (and get directed from) MultiCore

            People

            • Assignee:
              Ryan McKinley
              Reporter:
              Ryan McKinley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development