Bulk document save in repositories