SolrUpdateCollector updateCollector = new SolrUpdateCollector(rowDataList.size());
TimerContext timerContext = indexingTimer.time();
try {
calculateIndexUpdates(rowDataList, updateCollector);
} finally {
timerContext.stop();
}
if (log.isDebugEnabled()) {
log.debug(String.format("Indexer %s will send to Solr %s adds and %s deletes", getName(),
updateCollector.getDocumentsToAdd().size(), updateCollector.getIdsToDelete().size()));
}