From 1b769b53cd319529e9f214151ea5f831bde3592f Mon Sep 17 00:00:00 2001 From: Martyn James Date: Fri, 30 Jan 2015 15:14:25 -0500 Subject: [PATCH] Default search engine to None, so that all search/indexing operations are disabled until enabled --- cms/envs/common.py | 2 +- lms/envs/common.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cms/envs/common.py b/cms/envs/common.py index 071091b948..9404427b0f 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -873,7 +873,7 @@ FILES_AND_UPLOAD_TYPE_FILTERS = { } # Default to no Search Engine -SEARCH_ENGINE = "search.tests.mock_search_engine.MockSearchEngine" +SEARCH_ENGINE = None ELASTIC_FIELD_MAPPINGS = { "start_date": { "type": "date" diff --git a/lms/envs/common.py b/lms/envs/common.py index 0262935756..5d6af295df 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2014,6 +2014,6 @@ PDF_RECEIPT_COBRAND_LOGO_PATH = PROJECT_ROOT + '/static/images/default-theme/log PDF_RECEIPT_COBRAND_LOGO_HEIGHT_MM = 12 # Use None for the default search engine -SEARCH_ENGINE = "search.tests.mock_search_engine.MockSearchEngine" +SEARCH_ENGINE = None # Use the LMS specific result processor SEARCH_RESULT_PROCESSOR = "lms.lib.courseware_search.lms_result_processor.LmsSearchResultProcessor"