change default value of WAGTAILSEARCH_ES_INDEX from verdant to wagtail (and keep the name 'verdant' for RCA's instance)

This commit is contained in:
Matt Westcott 2014-01-30 11:30:21 +00:00
parent eb354a1147
commit 1a7001c8b2

View file

@ -54,7 +54,7 @@ class Search(object):
def __init__(self):
# Get settings
self.es_urls = getattr(settings, "WAGTAILSEARCH_ES_URLS", ["http://localhost:9200"])
self.es_index = getattr(settings, "WAGTAILSEARCH_ES_INDEX", "verdant")
self.es_index = getattr(settings, "WAGTAILSEARCH_ES_INDEX", "wagtail")
# Get ElasticSearch interface
self.es = get_es(urls=self.es_urls)