/**
  * Gets the version of the installed plugin.
  *
  * @param SolrService $solrConnection Solr connection to check for the plugin.
  * @return string The installed plugin's version number.
  */
 public function getInstalledPluginVersion(SolrService $solrConnection)
 {
     $version = '0.0.0';
     $pluginsInformation = $solrConnection->getPluginsInformation();
     $rawVersion = $pluginsInformation->plugins->OTHER->{self::PLUGIN_CLASS_NAME}->version;
     $explodedRawVersion = explode('-', $rawVersion);
     $version = $explodedRawVersion[0];
     return $version;
 }