mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-12 09:13:14 +00:00
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:
parent
eb354a1147
commit
1a7001c8b2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue