Delete previous document

You can set the document_id using a fingerprint filter so that the document is overwritten. See this thread.