upgrade to elasticsearch 5

pull/293/head
Matt Westcott 2021-04-19 12:54:57 +01:00
rodzic 931ca82742
commit 1a40b54993
3 zmienionych plików z 3 dodań i 5 usunięć

Wyświetl plik

@ -51,7 +51,7 @@ if ELASTICSEARCH_ENDPOINT:
from elasticsearch import RequestsHttpConnection
WAGTAILSEARCH_BACKENDS = {
'default': {
'BACKEND': 'wagtail.search.backends.elasticsearch2',
'BACKEND': 'wagtail.search.backends.elasticsearch5',
'HOSTS': [{
'host': ELASTICSEARCH_ENDPOINT,
'port': int(os.getenv('ELASTICSEARCH_PORT', '9200')),

Wyświetl plik

@ -16,7 +16,7 @@ services:
expose:
- "6379"
elasticsearch:
image: elasticsearch:2.3
image: elasticsearch:5.4
restart: always
expose:
- "9200"

Wyświetl plik

@ -1,7 +1,5 @@
-r base.txt
# elasticsearch==2.x.x chosen for compatibility with t2.micro.elasticsearch and t2.small.elasticsearch
# instance types on AWS (Elasticsearch 2.3). Adjust for your deployment as needed.
elasticsearch==2.4.1
elasticsearch==5.5.3
# Additional dependencies for Heroku, AWS, and Google Cloud deployment
dj-database-url==0.4.1
uwsgi>=2.0.17,<2.1