public function getConnectionByPageId($pageId, $language = 0, $mount = '')
    {
        $solrConnections = $this->getConfigurationByPageId($pageId, $language, $mount);
        $solrConnection = $this->getConnectionFromConfiguration($solrConnections);
        return $solrConnection;
    }
public function getConnectionByPageId($pageId, $language = 0, $mount = '')
    {
        $solrConnections = $this->getConfigurationByPageId($pageId, $language, $mount);
        $solrConnection = $this->getConnectionFromConfiguration($solrConnections);
        return $solrConnection;
    }
public function getConnectionByPageId ( $ pageId , $ language = 0 , $ mount = '' ) { $ solrConnections = $ this -> getConfigurationByPageId ( $ pageId , $ language , $ mount ) ; $ solrConnection = $ this -> getConnectionFromConfiguration ( $ solrConnections ) ; return $ solrConnection ; }
Gets a Solr connection for a page ID.

@param int $pageId A page ID.
@param int $language The language ID to get the connection for as the path may differ. Optional, defaults to 0.
@param string $mount Comma list of MountPoint parameters
@return SolrConnection A solr connection.
@throws NoSolrConnectionFoundException
Gets a Solr connection for a page ID .