Eric Merrill
861de101a9
MDL-53758 search: Fix unittest error
2016-04-29 12:17:51 +01: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
David Monllao
23fc1be833
MDL-53535 search_solr: Solr version restrictions
...
Also removing is_server_ready call from execute_query as in production
workflows search is done through \core_search\manager::search and
\core_search\manager::instance already checks is_server_ready. In
testing environment setUp functions should check that the server is
ready before performing other actions.
2016-04-18 09:59:58 +08: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
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
Eric Merrill
f6b4ec7b78
MDL-53579 search: Improve solr engine field name
2016-04-06 21:26:55 -04:00
Eric Merrill
546c0af511
MDL-53579 search: Fix conflict with eDisMax parser and indexed files
2016-04-06 14:09:35 -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
Eric Merrill
2f492364d9
MDL-53272: Fix calls to missing cache def
2016-04-04 15:36:42 +01:00
Dan Poltawski
8cdc6f3224
Merge branch 'MDL-53272_master' of git://github.com/dmonllao/moodle
2016-04-04 08:44:17 +01:00
David Monllao
3dab4841e5
MDL-53272 search: Unit tests to discard caching issues
2016-04-04 15:38:03 +08:00
David Monllao
9470e4d1ed
MDL-53272 search: Remove search results cache
2016-04-04 15:38:03 +08:00
Andrew Nicols
a753407eac
Merge branch 'MDL-53397_master' of git://github.com/dmonllao/moodle
2016-04-04 12:12:44 +08:00
Eric Merrill
3744ceb63b
MDL-53579 search: Limit general query to certain fields
2016-04-02 22:32:22 -04:00
Eric Merrill
7a4a0bc841
MDL-53516 search: Workaround for curl 7.35.0 bug
2016-03-30 15:28:35 -04:00
Dan Poltawski
79efd94da3
Merge branch 'MDL-53643_master' of git://github.com/dmonllao/moodle
2016-03-30 15:52:26 +08:00
David Monllao
19773d756f
MDL-53397 search_solr: Updating param types
2016-03-30 15:44:02 +08:00
David Monllao
53c2f82960
MDL-53397 search_solr: No index default name
2016-03-30 15:41:34 +08:00
David Monllao
bd5d2c60be
MDL-53643 search_solr: Setting correctly test server data
2016-03-30 11:40:38 +08:00
Eric Merrill
8dfc6291dd
MDL-53516 search: Remove file index unit test disable flag
2016-03-29 08:59:44 -04:00
Dan Poltawski
e195da19e0
Merge branch 'MDL-53516-master' of git://github.com/merrill-oakland/moodle
2016-03-29 16:35:44 +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
Dan Poltawski
ca0d7bf21c
Merge branch 'MDL-53508-master' of git://github.com/merrill-oakland/moodle
2016-03-26 10:26:02 +08:00
Eric Merrill
cd894f84b3
MDL-53516 search: Adding file indexing support to Solr
...
Expand the Solr engine to use the built in (to Solr) Tika
file indexing engine. Files are shipped off for indexing with
curl. Each file must have it's own document. So grouping is
used to keep files and Moodle docs associated.
2016-03-24 16:39:55 -04: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
Dan Poltawski
ef67e6c5f8
Merge branch 'MDL-53412-master' of git://github.com/merrill-oakland/moodle
2016-03-21 08:57:22 +08:00
Eric Merrill
5dc4624ced
MDL-53412 search: Correctly handle Solr over SSL
2016-03-17 01:13:15 -04:00
Eric Merrill
0aa3fedb23
MDL-53354 search: Fix unit test call to commit
2016-03-16 12:07:44 +08: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
02726a29cc
Merge branch 'MDL-53273-master' of git://github.com/merrill-oakland/moodle
2016-03-09 14:11:17 +08:00
Andrew Nicols
4f9303c443
Merge branch 'MDL-53271-master' of git://github.com/merrill-oakland/moodle
2016-03-09 11:05:44 +08:00
Andrew Nicols
bd2e5ef17d
Merge branch 'MDL-53325-master' of git://github.com/merrill-oakland/moodle
2016-03-09 10:06:47 +08:00
Andrew Nicols
020d27a733
Merge branch 'MDL-53281-master' of git://github.com/merrill-oakland/moodle
2016-03-09 09:25:07 +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
Eric Merrill
08c21a1beb
MDL-53273 search: Use unicode safe string truncation
2016-03-06 13:32:59 -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
Eric Merrill
bfd6c78f63
MDL-53281 search: Properly set timeout, and don't wait for optimize
2016-03-02 17:32:03 -05:00
Eric Merrill
63d5007b77
MDL-53271 search: Catch Solr Server errors when adding doc
2016-02-28 13:40:25 -05: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
95c6aeaf1c
MDL-31989 search_solr: Solr search engine
2016-02-23 10:47:58 +00:00