You are here

public function Apache_Solr_Service::getPort in Apache Solr Search 5

Get the set port

Return value

integer

File

SolrPhpClient/Apache/Solr/Service.php, line 358

Class

Apache_Solr_Service
Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.

Code

public function getPort() {
  return $this->_port;
}