You are here

function DrupalApacheSolrServiceInterface::getSolrVersion in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::getSolrVersion()

Get the current solr version. This could be 1, 3 or 4

Return value

int 1, 3 or 4. Does not give a more details version, for that you need to get the system info.

2 methods override DrupalApacheSolrServiceInterface::getSolrVersion()
DrupalApacheSolrService::getSolrVersion in ./Drupal_Apache_Solr_Service.php
Get the current solr version. This could be 1, 3 or 4
DummySolr::getSolrVersion in tests/Dummy_Solr.php
Get the current solr version. This could be 1, 3 or 4

File

./apachesolr.interface.inc, line 547

Class

DrupalApacheSolrServiceInterface
The interface for all 'Service' objects.

Code

function getSolrVersion();