You are here

public function SearchApiSolrConnection::setBaseUrl in Search API Solr 7

Sets the base URL of the Solr server.

Parameters

string $url: The new base URL of the Solr server.

Overrides SearchApiSolrConnectionInterface::setBaseUrl

File

includes/solr_connection.inc, line 755

Class

SearchApiSolrConnection
Represents a Solr server resource.

Code

public function setBaseUrl($url) {
  $this->base_url = $url;
  $this->update_url = NULL;
}