Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-5633: HttpShardHandlerFactory should make its http client available to subclasses

Ryan Ernst7ace4d499796
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index f7393619c68..755b3cd6e81 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -282,6 +282,9 @@ Other Changes
* SOLR-5632: Improve response message for reloading a non-existent core.
(Anshum Gupta via Mark Miller)
+* SOLR-5633: HttpShardHandlerFactory should make its http client available to subclasses.
+ (Ryan Ernst)
+
================== 4.6.1 ==================
Versions of Major Components
diff --git a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java b/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
index 100072d14ab..b8c343807ef 100644
--- a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
+++ b/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
@@ -61,7 +61,7 @@ public class HttpShardHandlerFactory extends ShardHandlerFactory implements org.
new DefaultSolrThreadFactory("httpShardExecutor")
);
- private HttpClient defaultClient;
+ protected HttpClient defaultClient;
private LBHttpSolrServer loadbalancer;
//default values:
int soTimeout = 0;