What is the new approach to fetch data from Solr within an extbase Service class? We previously did it with:
$solrResponse = $this->solr->search('type:car', $offset, $limit);
$this->solr is an instance of
ApacheSolrForTypo3\Solr\System\Solr\SolrConnection
But the method search got removed in the newer version of the extension apache-solr-for-typo3/solr
(currently using 9.0.2) and now I can't find the replacement for that one.
Did someone else got that issue too? Why we need that in an extension service? Well we index an external graphQL into our TYPO3-solr.
Help is much appreciated.
We have switched to Solarium as a new PHP Solr Library.
https://solarium.readthedocs.io/en/stable/
or dig here:
https://github.com/TYPO3-Solr/ext-solr/tree/master/Classes/Search
HTH
Olivier