moodle/search
sam marshall cca005b48a MDL-70446 search_solr: File indexing can fail due to multipart upload
Due to Solr bug SOLR-15039, uploading files for indexing can fail if
it uses multipart upload. This changes it to use direct binary upload.

Unfortunately, the direct binary version in PHP curl only supports a
string, so we have to load the file into memory. I added extra code to
restrict the size of files indexed to (memory limit - 100MB), which is
usually 284MB unless configured differently because cron runs under
MEMORY_EXTRA.
2021-04-01 11:18:33 +01:00
..
amd MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
classes MDL-71099 Lib: Move new user_fields class from core to core_user 2021-03-25 13:47:23 +00:00
cli MDL-55356 core_search: Make indexing task/CLI do context requests 2017-10-11 17:17:10 +01:00
engine MDL-70446 search_solr: File indexing can fail due to multipart upload 2021-04-01 11:18:33 +01:00
templates MDL-65540 core_search: Explicit component name in the str helper 2019-05-09 15:29:02 +08:00
tests MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:04:31 +01:00
index.php MDL-68729 Search: Allow query on one server while indexing another 2020-08-06 12:12:01 +01:00
upgrade.txt MDL-69479 upgrade: Change all 4.0 occurrences to 3.10 2020-08-21 23:57:17 +02:00