mirror of https://github.com/apache/lucene.git
a regression of SOLR-883 because of SOLR-943
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@776578 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1516f18236
commit
89ec39c8c0
|
@ -194,6 +194,7 @@ public class CoreAdminHandler extends RequestHandlerBase {
|
||||||
if (opts != null)
|
if (opts != null)
|
||||||
dcore.setDataDir(opts);
|
dcore.setDataDir(opts);
|
||||||
|
|
||||||
|
dcore.setCoreProperties(null);
|
||||||
SolrCore core = coreContainer.create(dcore);
|
SolrCore core = coreContainer.create(dcore);
|
||||||
coreContainer.register(name, core, false);
|
coreContainer.register(name, core, false);
|
||||||
rsp.add("core", core.getName());
|
rsp.add("core", core.getName());
|
||||||
|
|
Loading…
Reference in New Issue