mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-10 00:06:13 +00:00
disable elasticsearch by default in project template
This commit is contained in:
parent
ae7ca004d2
commit
7a2898d436
2 changed files with 9 additions and 8 deletions
|
|
@ -200,10 +200,11 @@ LOGIN_REDIRECT_URL = 'wagtailadmin_home'
|
|||
|
||||
WAGTAIL_SITE_NAME = "{{ project_name }}"
|
||||
|
||||
# Use Elasticsearch as the search backend for extra performance and better search results
|
||||
WAGTAILSEARCH_BACKENDS = {
|
||||
'default': {
|
||||
'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch',
|
||||
'INDEX': '{{ project_name }}',
|
||||
},
|
||||
}
|
||||
# Use Elasticsearch as the search backend for extra performance and better search results:
|
||||
# http://wagtail.readthedocs.org/en/latest/core_components/search/backends.html#elasticsearch-backend
|
||||
# WAGTAILSEARCH_BACKENDS = {
|
||||
# 'default': {
|
||||
# 'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch',
|
||||
# 'INDEX': '{{ project_name }}',
|
||||
# },
|
||||
# }
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ wagtail==0.5
|
|||
|
||||
# Recommended components (require additional setup)
|
||||
# psycopg2==2.5.2
|
||||
elasticsearch==1.1.1
|
||||
# elasticsearch==1.1.1
|
||||
django-redis-cache==0.13.0
|
||||
django-celery==3.1.10
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue