public function setHost($host)
	{
		//Use the provided host or use the default
		if (empty($host))
		{
			throw new Apache_Solr_InvalidArgumentException('Host parameter is empty');
		}
		else
		{
			$this->_host = $host;
		}

		if ($this->_urlsInited)
		{
			$this->_initUrls();
		}
	}
public function setHost($host)
	{
		//Use the provided host or use the default
		if (empty($host))
		{
			throw new Apache_Solr_InvalidArgumentException('Host parameter is empty');
		}
		else
		{
			$this->_host = $host;
		}

		if ($this->_urlsInited)
		{
			$this->_initUrls();
		}
	}
public function setHost ( $ host ) { //Use the provided host or use the default if ( empty ( $ host ) ) { throw new Apache_Solr_InvalidArgumentException ( 'Host parameter is empty' ) ; } else { $ this -> _host = $ host ; } if ( $ this -> _urlsInited ) { $ this -> _initUrls ( ) ; } }
Set the host used. If empty will fallback to constants

@param string $host

@throws Apache_Solr_InvalidArgumentException If the host parameter is empty
Set the host used . If empty will fallback to constants