XWIKI-10140: Improve the performance of the Solr Index Job
* Expose the Solr API to stream the search results
* Paginate the search/database queries and leave the CPU after processing a page/batch
* Speed up the Solr queries by disabling the faceting and highlighting.

(cherry picked from commit c0340014a5ffe8dc8f8cd91953b3675c0bc89dec)