SOLR-4604: SolrCore is not using the UpdateHandler that is passed to it in SolrCore#reload.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457640 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-03-18 04:49:48 +00:00
parent 5aca9b9dab
commit f33c2917e3
2 changed files with 4 additions and 3 deletions

View File

@ -157,6 +157,9 @@ Bug Fixes
* SOLR-4601: A Collection that is only partially created and then deleted will
leave pre allocated shard information in ZooKeeper. (Mark Miller)
* SOLR-4604: SolrCore is not using the UpdateHandler that is passed to it in
SolrCore#reload. (Mark Miller)
Optimizations
----------------------

View File

@ -804,9 +804,7 @@ public final class SolrCore implements SolrInfoMBean {
this.updateHandler = createUpdateHandler(updateHandlerClass == null ? DirectUpdateHandler2.class
.getName() : updateHandlerClass);
} else {
this.updateHandler = createUpdateHandler(
updateHandlerClass == null ? DirectUpdateHandler2.class.getName()
: updateHandlerClass, updateHandler);
this.updateHandler = updateHandler;
}
infoRegistry.put("updateHandler", this.updateHandler);