Commit 44cccc61fab5eed25a6b17257e1a59daa57797dc

Authored by Luan
1 parent da2b4afd

Changing haystack connection to solr

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/colab/custom_settings.py
... ... @@ -17,8 +17,8 @@ LANGUAGE_CODE = 'pt-br'
17 17  
18 18 HAYSTACK_CONNECTIONS = {
19 19 'default': {
20   - 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
21   - 'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'),
  20 + 'ENGINE': 'haystack.backends.solr_backend.SolrEngine',
  21 + 'URL': os.environ.get('COLAB_SOLR_URL'),
22 22 }
23 23 }
24 24  
... ...