If I want to rebuild the index, will clearIndex also reset the state and trigger a rebuild? If not, how would I do that?