Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change used elastic search backend module in settings

Jakub Draganek5d8e1c745407
diff --git a/saleor/settings.py b/saleor/settings.py
index bc3ca3f67e..d483261f9d 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -351,7 +351,7 @@ ES_URL = ELASTICSEARCH_URL or SEARCHBOX_URL or BONSAI_URL or ''
if ES_URL:
SEARCH_BACKENDS = {
'default': {
- 'BACKEND': 'saleor.search.backends.elasticsearch2',
+ 'BACKEND': 'saleor.search.backends.elasticsearch5',
'URLS': [ES_URL],
'INDEX': os.environ.get('ELASTICSEARCH_INDEX_NAME', 'storefront'),
'TIMEOUT': 5,