-
Bug
-
Resolution: Fixed
-
Minor
-
3.4.3, 3.5, 3.6
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-62735-master-refactor -
When Global Search is turned off via $CFG->enableglobalsearch and indexing is disabled via $CFG->searchindexwhendisabled, the site admin can still perform a manual index of the whole site if Simple Search is selected as the search engine.
The indexing seems to be performed by the webserver, which can put some serious stress on a shared hosting environment such as MoodleCloud if the site has enough content.
I feel this engine should obey the global on/off switches here, and prevent a manual index if global search is turned off site wide.