MDL-55356 core_search: Restore now requests search indexing
[moodle.git] / search / upgrade.txt
CommitLineData
5f654ea2
DM
1This files describes API changes in /search/*,
2information provided here is intended especially for developers.
3
67d64795 4=== 3.4 ===
5
6* Search indexing now supports time limits to make the scheduled task run more neatly. In order for
7 this to work, search engine plugins will need to implement the 'stopat' parameter if they
8 override the add_documents() function, and return an extra parameter from this function (see base
9 class in engine.php). Unmodified plugins will still work, but without supporting time limits.
10
5f654ea2
DM
11=== 3.2 ===
12
13* Base search area classes have been renamed, please update your search areas to use the classes below:
14 - \core_search\area\base has been renamed to \core_search\base
15 - \core_search\area\base_mod has been renamed to \core_search\base_mod
16 - \core_search\area\base_activity has been renamed to \core_search\base_activity