LOG.info("Committing live merge...");
if (options.zkHost != null) {
CloudSolrServer server = new CloudSolrServer(options.zkHost);
server.setDefaultCollection(options.collection);
server.commit();
server.shutdown();
} else {
for (List<String> urls : options.shardUrls) {
for (String url : urls) {
// TODO: we should do these concurrently
HttpSolrServer server = new HttpSolrServer(url);