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
Dan Poltawski
e11127b4bf
MDL-53813 search: prevent form change checker on search form
...
When we are searching for things we don't have text input we need to
care about loosing.
2016-04-14 14:02:01 +01:00
Marina Glancy
b06a90b0a0
MDL-53798 search: correct URL for frontpage course
2016-04-13 11:35:10 +08:00
Eric Merrill
501801a2f8
MDL-53642 search: Allow selection of multiple areas to filter
2016-04-07 14:47:47 -04:00
Eric Merrill
427e3cbcd6
MDL-53167 search: Add ability to limit courses searched
2016-04-07 14:41:59 -04:00
Andrew Nicols
0c21d79627
Merge branch 'MDL-53579-master' of git://github.com/merrill-oakland/moodle
2016-04-05 11:20:45 +08:00
David Monllao
9470e4d1ed
MDL-53272 search: Remove search results cache
2016-04-04 15:38:03 +08:00
David Monllao
54abd66aca
MDL-53272 search: Catch missing record exceptions
2016-04-04 15:36:59 +08:00
Eric Merrill
3744ceb63b
MDL-53579 search: Limit general query to certain fields
2016-04-02 22:32:22 -04:00
Dan Poltawski
8783393bc4
Merge branch 'MDL-53578-master' of git://github.com/merrill-oakland/moodle
2016-03-29 16:38:58 +08:00
Dan Poltawski
868e5ef0d5
Merge branch 'MDL-53515-master' of git://github.com/merrill-oakland/moodle
2016-03-29 14:39:53 +08:00
Eric Merrill
091973dbd7
MDL-53515 search: Extend search API to allow file indexing
2016-03-24 15:44:27 -04:00
Eric Merrill
4894840dc6
MDL-53508 search: Improve highlighting and move to text fields
2016-03-23 08:55:48 -04:00
Eric Merrill
a4902f66bb
MDL-53578 search: Enable course id indexing so it can be filtered
2016-03-22 12:53:56 -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
Andrew Nicols
bd2e5ef17d
Merge branch 'MDL-53325-master' of git://github.com/merrill-oakland/moodle
2016-03-09 10:06:47 +08: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
Eric Merrill
bf2235bb11
MDL-53325 search: Optimize Solr less often
2016-03-06 13:46:54 -05:00
Dan Poltawski
7c7757185a
MDL-53247 search: allow search to be configured before enabled
...
The seach manager no longer checks if search is enabled before providing
an instance. It's up to the callers to do the access control.
2016-03-03 12:31:21 +08:00
David Monllao
69d66020ce
MDL-31989 search: get_config method to search areas
...
Also content_to_text moved to weblib.
2016-02-23 10:47:59 +00: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