You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2011/09/01 19:22:10 UTC
[jira] [Resolved] (SOLR-2675) Support core properties when creating
cores via REST API (CoreAdminHandler)
[ https://issues.apache.org/jira/browse/SOLR-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-2675.
----------------------------
Resolution: Fixed
Thanks Yury!
> Support core properties when creating cores via REST API (CoreAdminHandler)
> ---------------------------------------------------------------------------
>
> Key: SOLR-2675
> URL: https://issues.apache.org/jira/browse/SOLR-2675
> Project: Solr
> Issue Type: Improvement
> Components: multicore
> Reporter: Yury Kats
> Assignee: Hoss Man
> Fix For: 3.4, 4.0
>
> Attachments: SOLR-2675.patch, coreadmin.patch
>
>
> When crating cores through solr.xml, I am able to specify custom
> properties, to be referenced in solrconfig.xml. For example:
> <cores adminPath="/admin/cores" defaultCoreName="master">
> <core name="master" instanceDir="core1" shard="shard1" collection="myconf" >
> <property name="enable.master" value="true" />
> </core>
> <core name="slave" instanceDir="core2" shard="shard2" collection="myconf">
> <property name="enable.slave" value="true" />
> <property name="masterHost" value="node2:8983" />
> </core>
> </cores>
> There does not seem a way to specify such properties when creating cores through the CoreAdminHandler request.
> CoreAdminHandler#handleCreateAction always calls dcore.setCoreProperties(null);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org