LILY-2597: Process mgmt around batch index building. In its current state it works for "direct write" when using solrcloud. Other combinations are still to be tested.