Skip to content
Browse files

Use Whoosh in prod for now.

  • Loading branch information...
1 parent f98eae0 commit 821f1ef9f7eae6d146248b5a212812fee4996cfd @jacobian jacobian committed
Showing with 2 additions and 6 deletions.
  1. +2 −6 django_website/settings/docs.py
View
8 django_website/settings/docs.py
@@ -22,9 +22,5 @@
# Haystack settings
HAYSTACK_SITECONF = 'django_website.docs.search_sites'
-if PRODUCTION:
- HAYSTACK_SEARCH_ENGINE = 'solr'
- HAYSTACK_SOLR_URL = 'http://127.0.0.1:8983/solr'
-else:
- HAYSTACK_SEARCH_ENGINE = 'whoosh'
- HAYSTACK_WHOOSH_PATH = '/tmp/djangodocs.index'
+HAYSTACK_SEARCH_ENGINE = 'whoosh'
+HAYSTACK_WHOOSH_PATH = '/tmp/djangodocs.index'

0 comments on commit 821f1ef

Please sign in to comment.
Something went wrong with that request. Please try again.