Curl Adapter

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.

Share on Twitter

Trackbacks/Pingbacks

  1. How Web Designers and Developers can Contribute to Open Source Projects | Project management and time tracking blog for web designers and small business :: the Intervals Blog by Pelago - January 18, 2012

    [...] 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 [...]

Leave a Reply

Comments are reviewed before display because of spam issues, so it might take a while for your comment to show up.

You must be logged in to post a comment.