/**
  * Central method for making a PUT operation against this Solr Server
  *
  * @param string $url
  * @param string $rawPut
  * @param bool|float $timeout Read timeout in seconds
  * @param string $contentType
  * @return Apache_Solr_Response
  */
 protected function _sendRawPut($url, $rawPut, $timeout = FALSE, $contentType = 'text/xml; charset=UTF-8')
 {
     try {
         $response = parent::_sendRawPut($url, $rawPut, $timeout, $contentType);
     } catch (Apache_Solr_HttpTransportException $e) {
         $response = $e->getResponse();
     }
     if (Mage::getStoreConfig('log/query/rawPut')) {
         $logData = array('query url' => $url, 'content' => $rawPut, 'response' => (array) $response);
         if (!empty($e)) {
             $logData['exception'] = $e->__toString();
         }
         Mage::helper('solr')->getLogger()->debug('Querying Solr using PUT', $logData);
     }
     return $response;
 }