sam marshall
4359ef18bb
MDL-58885 core_search: Add group support
...
Adds group support to the core search API and the Solr search engine.
This allows for:
* User searching by group (in the API only, no interface yet)
* Automatically restrict search results by group (in some cases like
separate-groups forums)
2018-02-16 16:57:00 +00:00
Damyon Wiese
97812f14c1
Merge branch 'MDL-60880-master' of https://github.com/sammarshallou/moodle
2017-12-06 19:53:37 +13:00
sam marshall
cfa00fc565
MDL-60880 core_search: Allow search of specific context (back-end)
...
Adds back-end support for restricting searches to specified context
ids (for example so it is possible to search only a specific forum).
2017-12-05 17:42:38 +00:00
sam marshall
1b8cf12a59
MDL-60857 core_search: Improve cron log progress information
2017-12-01 15:47:22 +00:00
sam marshall
401710883b
MDL-60705 core_search: Unit tests get time wrong by factor 1 million
2017-11-06 11:50:43 +00:00
sam marshall
82735dec4d
MDL-60555 core_search: Change unit tests to use fake time
...
Using real time caused rare failures. I've changed it to use fake
measurement for the indexing timeouts, which were unit-tested.
2017-10-31 14:48:09 +00:00
David Monllao
afabbd110e
Merge branch 'MDL-59039-master' of https://github.com/sammarshallou/moodle
2017-07-11 21:49:03 +02:00
sam marshall
67d6479581
MDL-59039 Global search: Allow partial indexing (in scheduled task)
2017-07-11 16:41:33 +01:00
sam marshall
a96faa49a8
MDL-58957 Global search: Add block support to search manager
2017-06-30 13:10:12 +01:00
David Monllao
f3d38863fe
MDL-55390 search: is_search_area unit tests
...
Added extra checking for search manager get_search_area.
2016-08-09 15:51:30 +08:00
David Monllao
0bd8383a8b
MDL-55278 search: Updating references to area namespace
2016-07-21 18:38:18 +02:00
Dan Poltawski
b76edf3cfa
Merge branch 'MDL-54926-master' of git://github.com/merrill-oakland/moodle
2016-07-11 16:54:40 +01:00
Dan Poltawski
64ec975e19
Merge branch 'MDL-55082-master' of git://github.com/merrill-oakland/moodle
2016-07-11 15:20:48 +01:00
Eric Merrill
55b62370aa
MDL-55082 search: Update core areas to return results in time ASC order
2016-06-30 11:11:35 -04:00
Eric Merrill
4e2b5191d4
MDL-54926 search: Reduce over-escaping in results
2016-06-28 16:33:29 -04:00
David Monllao
25ba053ff2
MDL-54707 search: Add user context to get_areas_user_accesses
2016-06-26 21:23:16 +02:00
Eloy Lafuente (stronk7)
33952d4a53
Merge branch 'MDL-53758-master' of git://github.com/merrill-oakland/moodle
2016-04-26 20:34:20 +02:00
Eric Merrill
053118a184
MDL-53758 search: Better results with low hit rates, improve performance
...
Ensures that Solr will return available results, even if there are many
misses when using check_access(), by asking Solr for more results if the
counter says there should be more.
Improves performance by ending processing as soon as the requested page
of results is processed. Remaining number of pages is an "estimate"
based on the total result count from Solr and how many items we have
rejected up to this point.
2016-04-17 21:59:25 -04:00
Eric Merrill
427e3cbcd6
MDL-53167 search: Add ability to limit courses searched
2016-04-07 14:41:59 -04:00
David Monllao
3dab4841e5
MDL-53272 search: Unit tests to discard caching issues
2016-04-04 15:38:03 +08:00
Eric Merrill
091973dbd7
MDL-53515 search: Extend search API to allow file indexing
2016-03-24 15:44:27 -04:00
Eloy Lafuente (stronk7)
3edc162611
Merge branch 'MDL-53354-master' of git://github.com/merrill-oakland/moodle
2016-03-16 01:09:45 +01:00
Eric Merrill
f6b425e2de
MDL-53354 search: Add ability to limit search doc to a user
2016-03-10 09:19:05 -05:00
Eric Merrill
075fa91271
MDL-53325 search: Remove commit from engine interface
...
Remove commit from engine, and instead notify when indexes
start and stop, allowing them to decide what to do.
2016-03-06 13:46:54 -05:00
David Monllao
db48207e1a
MDL-31989 search: Search API and search engine API
...
Introducing both APIs in moodle along with:
- search_box widget to add a tiny search box
- admin settings with setup steps helper
- cache for search results
- template for a search result
- php unit stuff
Many thanks to Tomasz Muras, Prateek Sachan and Daniel Neis for their contributions, for starting this development
and for pushing for it to be completed. Also thanks to other contributors: Jonathan Harker and eugeneventer.
2016-02-23 10:47:58 +00:00