HSEARCH-1699 Batching IndexWriter commits for multiple synchronous worksets

https://hibernate.atlassian.net/browse/HSEARCH-1699