SOLR-8433: Adding logging for schemes

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720768 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joel Bernstein 2015-12-18 12:35:40 +00:00
parent 4acfcd061a
commit a7569ce25b
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,10 @@ public abstract class IterativeMergeStrategy implements MergeStrategy {
public CallBack(ShardResponse originalShardResponse, QueryRequest req) {
log.info("################ SHARD ADDRESSS ##############:" + originalShardResponse.getShardAddress());
log.info("############ HTTP Client #############:"+ httpClient.getClass());
List<String> schemes = httpClient.getConnectionManager().getSchemeRegistry().getSchemeNames();
for(String scheme : schemes) {
log.info("############ Scheme #############:"+ scheme);
}
this.solrClient = new HttpSolrClient(originalShardResponse.getShardAddress(), httpClient);
this.req = req;