A new Solarium client adapter has been contributed by Jaime Prado, the Curl adapter. If you use it as the adapter for your Solarium_Client instance all Solr requests will be done using Curl. Of-course you do need to have Curl support built in to PHP .
Usage is very simple:
$client = new Solarium_Client($config);
// set the adapter to Curl
$client->setAdapter('Solarium_Client_Adapter_Curl');
// and continue to use Solarium...
This adapter is already available in the development branch and will be included in the next Solarium release.






Trackbacks/Pingbacks
[...] project management software we settled on using Solarium. But there was one piece missing — a Curl adapter for communicating between the Solr server and our PHP code base. So we built one. Then we [...]