Improve reindex speed by disabling autocommit during indexing.