writer = DocumentWriter( document_store=document_store, policy=DuplicatePolicy.FAIL, )