Skip to content

Commit

Permalink
use new backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Nov 15, 2023
1 parent ac85091 commit 82682b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pydotorg/settings/heroku.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
2 changes: 1 addition & 1 deletion pydotorg/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down

0 comments on commit 82682b0

Please sign in to comment.