Apache Solr open-source search software
SOLR-4604: SolrCore is not using the UpdateHandler that is passed to it in SolrCore#reload.
Mark Robert Millerf33c2917e30c
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 9b91e4efa0d..cca59d07100 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -157,6 +157,9 @@ Bug Fixes* SOLR-4601: A Collection that is only partially created and then deleted willleave 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----------------------diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.javaindex c82c10035ca..82e15c978f9 100644--- a/solr/core/src/java/org/apache/solr/core/SolrCore.java+++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java@@ -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);