From 82682b072d615ad7563aa64232c247ee54354142 Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Wed, 15 Nov 2023 09:58:28 -0500 Subject: [PATCH] use new backend --- pydotorg/settings/heroku.py | 2 +- pydotorg/settings/local.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pydotorg/settings/heroku.py b/pydotorg/settings/heroku.py index ab9646936..c32c9c67b 100644 --- a/pydotorg/settings/heroku.py +++ b/pydotorg/settings/heroku.py @@ -26,7 +26,7 @@ HAYSTACK_CONNECTIONS = { 'default': { - 'ENGINE': 'haystack.backends.elasticsearch5_backend.Elasticsearch5SearchEngine', + 'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine', 'URL': HAYSTACK_SEARCHBOX_SSL_URL, 'INDEX_NAME': 'haystack-prod', }, diff --git a/pydotorg/settings/local.py b/pydotorg/settings/local.py index 4ecbe35aa..6525d9837 100644 --- a/pydotorg/settings/local.py +++ b/pydotorg/settings/local.py @@ -26,7 +26,7 @@ HAYSTACK_CONNECTIONS = { 'default': { - 'ENGINE': 'haystack.backends.elasticsearch5_backend.Elasticsearch5SearchEngine', + 'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine', 'URL': HAYSTACK_SEARCHBOX_SSL_URL, 'INDEX_NAME': 'haystack', },