From 7a2898d436855cec876bed7a1d856c097d391100 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Thu, 31 Jul 2014 21:10:14 +0100 Subject: [PATCH] disable elasticsearch by default in project template --- .../project_name/project_name/settings/base.py | 15 ++++++++------- wagtail/project_template/requirements.txt | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/wagtail/project_template/project_name/project_name/settings/base.py b/wagtail/project_template/project_name/project_name/settings/base.py index 7054ff91a..6022fb9eb 100644 --- a/wagtail/project_template/project_name/project_name/settings/base.py +++ b/wagtail/project_template/project_name/project_name/settings/base.py @@ -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 }}', +# }, +# } diff --git a/wagtail/project_template/requirements.txt b/wagtail/project_template/requirements.txt index fb6837e2d..8f76e36a4 100644 --- a/wagtail/project_template/requirements.txt +++ b/wagtail/project_template/requirements.txt @@ -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