public function add($rawPost)
	{
		$service = $this->_selectWriteService();

		do
		{
			try
			{
				return $service->add($rawPost);
			}
			catch (Apache_Solr_HttpTransportException $e)
			{
				if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR
				{
					throw $e;
				}
			}

			$service = $this->_selectWriteService(true);
		} while ($service);

		return false;
	}
public function add($rawPost)
	{
		$service = $this->_selectWriteService();

		do
		{
			try
			{
				return $service->add($rawPost);
			}
			catch (Apache_Solr_HttpTransportException $e)
			{
				if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR
				{
					throw $e;
				}
			}

			$service = $this->_selectWriteService(true);
		} while ($service);

		return false;
	}
public function add ( $ rawPost ) { $ service = $ this -> _selectWriteService ( ) ; do { try { return $ service -> add ( $ rawPost ) ; } catch ( Apache_Solr_HttpTransportException $ e ) { if ( $ e -> getCode ( ) != 0 ) //IF NOT COMMUNICATION ERROR { throw $ e ; } } $ service = $ this -> _selectWriteService ( true ) ; } while ( $ service ) ; return false ; }
Raw Add Method. Takes a raw post body and sends it to the update service.  Post body
should be a complete and well formed "add" xml document.

@param string $rawPost
@return Apache_Solr_Response

@throws Apache_Solr_HttpTransportException If an error occurs during the service call
Raw Add Method . Takes a raw post body and sends it to the update service . Post body should be a complete and well formed add xml document .