solrZkHost = String.valueOf(componentContext.getProperties().get(SOLR_ZK_HOST));
solrCollection = String.valueOf(componentContext.getProperties().get(SOLR_COLLECTION));
solrShardsNo = Integer.valueOf(componentContext.getProperties().get(SOLR_SHARDS_NO).toString());
solrReplicationFactor = Integer.valueOf(componentContext.getProperties().get(SOLR_REPLICATION_FACTOR).toString());
solrConfDir = String.valueOf(componentContext.getProperties().get(SOLR_CONF_DIR));
remoteSolrServerConfiguration = new RemoteSolrServerConfiguration(solrZkHost, solrCollection, solrShardsNo, solrReplicationFactor, solrConfDir, solrHttpUrl);
}