builder.connectionType("solr");
Map<String, String> connectionParams = getConnectionParams(options,
oldIndexerDef != null ? oldIndexerDef.getConnectionParams() : null);
if (connectionParams != null)
builder.connectionParams(connectionParams);
if (oldIndexerDef == null || oldIndexerDef.getIndexerComponentFactory() == null)
builder.indexerComponentFactory(indexerComponentFactoryOption.value(options));
byte[] indexerConf = getIndexerConf(options, indexerComponentFactoryOption, indexerConfOption, connectionParams);