mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
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.