disable elasticsearch by default in project template

This commit is contained in:
Matt Westcott 2014-07-31 21:10:14 +01:00
parent ae7ca004d2
commit 7a2898d436
2 changed files with 9 additions and 8 deletions

View file

@ -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 }}',
# },
# }

View file

@ -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