You are here

public function SearchApiSolrConnectionInterface::getSolrVersion in Search API Solr 7

Gets the current solr version.

Return value

int 1, 3 or 4. Does not give a more detailed version, for that you need to use getSystemInfo().

1 method overrides SearchApiSolrConnectionInterface::getSolrVersion()
SearchApiSolrConnection::getSolrVersion in includes/solr_connection.inc
Gets the current solr version.

File

includes/solr_connection.interface.inc, line 362

Class

SearchApiSolrConnectionInterface
The interface for a Solr connection class.

Code

public function getSolrVersion();