remove index and words when replacing document before indexing again.