change solr index only if there were recent changes