Made some cahnges to batch processing on solr reindex