Interim checkin on multi-sharded indexes. Code still buggy.