SolrUtils::getSolrVersion

(PECL solr >= 0.9.2)

SolrUtils::getSolrVersionReturns the current version of the Solr extension

說明

public static SolrUtils::getSolrVersion(): string

Returns the current Solr version.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

The current version of the Apache Solr extension.