You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2016/10/02 05:29:20 UTC
[jira] [Commented] (SOLR-5931) solrcore.properties is not reloaded
when core is reloaded
[ https://issues.apache.org/jira/browse/SOLR-5931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15539789#comment-15539789 ]
Alexandre Rafalovitch commented on SOLR-5931:
---------------------------------------------
This case seems to be a mix of lacked-features, maybe-bug, and is again an old version of Solr (so may have been fixed already).
I don't see any next action in this. I think it may be easiest to close this issue and open a new one if something like this comes up against latest Solr.
> solrcore.properties is not reloaded when core is reloaded
> ---------------------------------------------------------
>
> Key: SOLR-5931
> URL: https://issues.apache.org/jira/browse/SOLR-5931
> Project: Solr
> Issue Type: Bug
> Components: multicore
> Affects Versions: 4.7
> Reporter: Gunnlaugur Thor Briem
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
>
> When I change solrcore.properties for a core, and then reload the core, the previous values of the properties in that file are still in effect. If I *unload* the core and then add it back, in the “Core Admin” section of the admin UI, then the changes in solrcore.properties do take effect.
> My specific test case is a DataImportHandler where {{db-data-config.xml}} uses a property to decide which DB host to talk to:
> {code:xml}
> <dataSource driver="org.postgresql.Driver" name="meta" url="jdbc:postgresql://${dbhost}/${solr.core.name}" .../>
> {code}
> When I change that {{dbhost}} property in {{solrcore.properties}} and reload the core, the next dataimport operation still connects to the previous DB host. Reloading the dataimport config does not help. I have to unload the core (or fully restart the whole Solr) for the properties change to take effect.
--
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