diff --git a/elasticsearch_dsl/document.py b/elasticsearch_dsl/document.py index f77667dfd..fd8520f14 100644 --- a/elasticsearch_dsl/document.py +++ b/elasticsearch_dsl/document.py @@ -401,6 +401,7 @@ def update( if retry_on_conflict is not None: doc_meta["retry_on_conflict"] = retry_on_conflict + doc_meta["version"] = None # Optimistic concurrency control if "seq_no" in self.meta and "primary_term" in self.meta: