You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/10/20 18:38:58 UTC
[jira] [Updated] (SOLR-9533) Reload core config when a core is
reloaded
[ https://issues.apache.org/jira/browse/SOLR-9533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Bernstein updated SOLR-9533:
---------------------------------
Attachment: SOLR-9533.patch
Small patch that handles the reload.
This is just for review. If people are ok with this approach I'll work on a test case.
> Reload core config when a core is reloaded
> ------------------------------------------
>
> Key: SOLR-9533
> URL: https://issues.apache.org/jira/browse/SOLR-9533
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 6.2
> Reporter: Gethin James
> Assignee: Joel Bernstein
> Attachments: SOLR-9533.patch
>
>
> 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:
> {code}
> CoreDescriptor cd = core.getCoreDescriptor();
> {code}
> I can't see a way to reload CoreDescriptor, so it isn't picking up my changes. It simply reuses the existing CoreDescriptor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org