Skip to content

Commit 82682b0

Browse files
committed
use new backend
1 parent ac85091 commit 82682b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pydotorg/settings/heroku.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
HAYSTACK_CONNECTIONS = {
2828
'default': {
29-
'ENGINE': 'haystack.backends.elasticsearch5_backend.Elasticsearch5SearchEngine',
29+
'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine',
3030
'URL': HAYSTACK_SEARCHBOX_SSL_URL,
3131
'INDEX_NAME': 'haystack-prod',
3232
},

pydotorg/settings/local.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
HAYSTACK_CONNECTIONS = {
2828
'default': {
29-
'ENGINE': 'haystack.backends.elasticsearch5_backend.Elasticsearch5SearchEngine',
29+
'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine',
3030
'URL': HAYSTACK_SEARCHBOX_SSL_URL,
3131
'INDEX_NAME': 'haystack',
3232
},

0 commit comments

Comments
 (0)