src/hdalab/config.py.tmpl
changeset 363 627596669480
parent 266 825ff4d6a8ac
child 368 ed8888cec220
--- a/src/hdalab/config.py.tmpl	Fri Nov 14 17:06:02 2014 +0100
+++ b/src/hdalab/config.py.tmpl	Thu Nov 20 11:41:50 2014 +0100
@@ -58,3 +58,12 @@
 
 GOOGLE_ANALYTICS_CODE = None
 
+HAYSTACK_CONNECTIONS = {
+    'default': {
+        # the elasticsearch_backend is probably temporary
+        #'ENGINE': 'hdabo.search.french_whoosh_backend.SearchBackend',
+        'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine',
+        'URL': 'http://127.0.0.1:9200/',
+        'INDEX_NAME': 'hdabo',
+    },
+}