MongoDB allows [creating indexes in the background](https://docs.mongodb.com/manual/core/index-creation/#background-construction). It seems like an easy fix would be adding `iBackgorund` field to `Index` then updating `idxDocument`.