kopia lustrzana https://github.com/wagtail/wagtail
change default value of WAGTAILSEARCH_ES_INDEX from verdant to wagtail (and keep the name 'verdant' for RCA's instance)
rodzic
eb354a1147
commit
1a7001c8b2
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue