Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove not used index fields
Jakub Draganekb61f09fab7d5
diff --git a/saleor/search/documents.py b/saleor/search/documents.pyindex afae99600f..2f1821ee2e 100644--- a/saleor/search/documents.py+++ b/saleor/search/documents.py@@ -28,7 +28,7 @@ users.settings(number_of_shards=1, number_of_replicas=0)class UserDocument(DocType):class Meta:model = User- fields = ['email', 'is_staff']+ fields = ['email']orders = Index('orders')@@ -39,4 +39,4 @@ orders.settings(number_of_shards=1, number_of_replicas=0)class OrderDocument(DocType):class Meta:model = Order- fields = ['status', 'created', 'user_email', 'discount_name']+ fields = ['status', 'user_email', 'discount_name']