diff --git a/pyes/query.py b/pyes/query.py
index <HASH>..<HASH> 100644
--- a/pyes/query.py
+++ b/pyes/query.py
@@ -1623,9 +1623,9 @@ class RescoreQuery(Query):
         """Serialize the query to a structure using the query DSL."""
 
         data = {self._internal_name: self.query.serialize()}
-        if self.query_weight:
+        if self.query_weight is not None:
             data['query_weight'] = self.query_weight
-        if self.rescore_query_weight:
+        if self.rescore_query_weight is not None:
             data['rescore_query_weight'] = self.rescore_query_weight
 
         return data
Allow query_weight and rescore_query_weight to be zero.