autocommit for solr