changed solr commit strategy ton one commit at the end