You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ronald S. Wood (JIRA)" <ji...@apache.org> on 2014/06/16 19:06:02 UTC
[jira] [Commented] (SOLR-6063) allow core reloading with
parameters in core admin
[ https://issues.apache.org/jira/browse/SOLR-6063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032640#comment-14032640 ]
Ronald S. Wood commented on SOLR-6063:
--------------------------------------
We are also running into this issue. We have been testing a transition from version 4.2.1 to 4.8.1 and this is an issue for our automation scripts. We do not use SolrCloud and instead manage our highly multi-tenant farm.
Without this patch, it seems like the only alternative is to first call UNLOAD, the CREATE with the new parameters, but this would incur downtime compared to the deprecated pre-4.3 behaviour of CREATE.
> allow core reloading with parameters in core admin
> ---------------------------------------------------
>
> Key: SOLR-6063
> URL: https://issues.apache.org/jira/browse/SOLR-6063
> Project: Solr
> Issue Type: Improvement
> Reporter: Elran Dvir
> Attachments: SOLR-6063.patch
>
>
> The patch allows to add parameters to core admin reload command as in create command and it changes the core configuration as indicated in the parameters.
> Any parameter that is not indicated in the command will be the same as before.
> For example, the command
> solr/admin/cores?action=RELOAD&core=core0&transient=true
> will change the core to be transient.
> In my patch, I removed the parameter isTransientCore from the method registerCore in class CoreContainer. I chose to use cd.isTransient() instead.
> The patch is based on Solr 4.8
> Thanks.
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org