From eaddd0a7bec91caeee1f9f1429a5d3d4923376e0 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Sat, 19 Sep 2015 20:07:17 -0300 Subject: [PATCH] Added solr settings for colab --- cookbooks/colab/templates/00-custom_settings.py.erb | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/cookbooks/colab/templates/00-custom_settings.py.erb b/cookbooks/colab/templates/00-custom_settings.py.erb index 4cac391..df6c958 100644 --- a/cookbooks/colab/templates/00-custom_settings.py.erb +++ b/cookbooks/colab/templates/00-custom_settings.py.erb @@ -35,3 +35,10 @@ ROBOTS_NOINDEX = False COLAB_HOME_URL = '/social' GOOGLE_ANALYTICS_TRACKING_ID = "<%= node['config']['google_analytics_id'] %>" + +HAYSTACK_CONNECTIONS = { + 'default': { + 'ENGINE': 'haystack.backends.solr_backend.SolrEngine', + 'URL': 'http://localhost:8983/solr/', + } +} -- libgit2 0.21.2