moodle/search/engine/solr/classes
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
..
privacy MDL-63552 search_solr: Add support for removal of context users 2018-10-25 11:41:08 +08:00
document.php MDL-55725 search: Index proper time modified with indexed files 2016-09-07 17:33:28 -04:00
engine.php MDL-70446 search_solr: File indexing can fail due to multipart upload 2021-04-01 11:18:33 +01:00
schema.php MDL-68729 Search: Allow query on one server while indexing another 2020-08-06 12:12:01 +01:00