Revert to ES 2
This commit is contained in:
parent
4ba2d0057d
commit
3837aa2c2d
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ web:
|
|||
links:
|
||||
- redis
|
||||
- postgres
|
||||
- elasticsearch
|
||||
- elasticsearch:2
|
||||
ports:
|
||||
- "5000:5000"
|
||||
environment:
|
||||
|
|
|
@ -145,7 +145,7 @@ if REDIS_LOCATION is not None:
|
|||
if 'ELASTICSEARCH_URL' in env:
|
||||
WAGTAILSEARCH_BACKENDS = {
|
||||
'default': {
|
||||
'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch5',
|
||||
'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch2',
|
||||
'URLS': [env['ELASTICSEARCH_URL']],
|
||||
'INDEX': APP_NAME,
|
||||
'ATOMIC_REBUILD': True,
|
||||
|
|
Loading…
Reference in a new issue