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

solr.xml should fail to load if multiple cores with the same name

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      As noted in email a while back...

      http://search.lucidimagination.com/search/document/674bf5dfbbb349bc/multiple_cores_w_same_name_in_solr_xml

      but there is currently no assertion that every core have a name, or that the
      names be unique before the SolrCore is constructed ... it's not until the core is registered that an error will be
      generated if the core name is null, or that the previous core with an identicle name will be close()ed.

      I think we should fail fast if solr.xml specifies the same name more then once

        Attachments

        1. SOLR-1981.patch
          2 kB
          Hoss Man
        2. SOLR-1981.patch
          2 kB
          Hoss Man

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: