From 3cb657625857b032788ef4487b26061cc0461080 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Fri, 20 Jun 2025 05:32:21 +0300 Subject: [PATCH] Fixes: 1) Remove unnecessary `null=True` attribute from `brand_priority` field. --- core/elasticsearch/documents.py | 1 - 1 file changed, 1 deletion(-) diff --git a/core/elasticsearch/documents.py b/core/elasticsearch/documents.py index d373e81b..fcdd062e 100644 --- a/core/elasticsearch/documents.py +++ b/core/elasticsearch/documents.py @@ -55,7 +55,6 @@ class ProductDocument(_BaseDoc): rating = fields.FloatField(attr="rating") brand_priority = fields.IntegerField( attr="brand.priority", - null=True, index=True, fields={"raw": fields.KeywordField()}, )