I think the index should be cleared before recreating it.