I think we should do the flush for MongoDB. Infinispan is a bit different in the sense that it is transactional so having the index anticipating the tx is not right.