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

Reload core config when a core is reloaded

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 6.2
    • 6.3
    • None
    • 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
          4 kB
          Joel Bernstein
        2. SOLR-9533.patch
          1.0 kB
          Joel Bernstein

        Activity

          People

            jbernste Joel Bernstein
            covolution Gethin James
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: