moodle/search/engine/solr
sam marshall a53238a07b 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-14 13:19:08 +01:00
..
classes MDL-70446 search_solr: File indexing can fail due to multipart upload 2021-04-14 13:19:08 +01:00
lang/en MDL-66326 Global search: Delete from index when courses are deleted 2019-08-23 11:51:50 +01:00
tests MDL-66326 Global search: Delete from index when courses are deleted 2019-08-23 11:51:50 +01:00
settings.php MDL-64190 search_solr: use password unmask config elements. 2019-01-11 15:11:24 +00:00
setup_schema.php MDL-53535 search_solr: Solr version restrictions 2016-04-18 09:59:58 +08:00
version.php MDL-68973 versions: bump all versions and requires near release 2020-06-09 16:23:09 +02:00