IndexerConf indexerConf = factory.createIndexerConf();
ResultToSolrMapper mapper = factory.createMapper(indexerDef.getName());
Sharder sharder = null;
SolrInputDocumentWriter solrWriter;
PoolingClientConnectionManager connectionManager = null;
if (indexerDef.getConnectionType() == null || indexerDef.getConnectionType().equals("solr")) {
Map<String, String> connectionParams = indexerDef.getConnectionParams();
String solrMode = SolrConnectionParamUtil.getSolrMode(connectionParams);