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

Reload core config when a core is reloaded

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      I am reloading a core using coreContainer.reload(coreName). However it doesn't seem to reload the configuration. I have changed solrcore.properties on the file system but the change doesn't get picked up.

      The coreContainer.reload method seems to call:

      CoreDescriptor cd = core.getCoreDescriptor();
      

      I can't see a way to reload CoreDescriptor, so it isn't picking up my changes. It simply reuses the existing CoreDescriptor.

        Attachments

        1. SOLR-9533.patch
          1.0 kB
          Joel Bernstein
        2. SOLR-9533.patch
          4 kB
          Joel Bernstein

          Activity

            People

            • Assignee:
              joel.bernstein Joel Bernstein
              Reporter:
              covolution Gethin James
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: