public function getClient($path = '/solr')
    {
        $options = $this->options;
        $options = [
            'secure' => $options->isSecure(),
            'hostname' => $options->getHostname(),
            'port' => $options->getPort(),
            'path' => $path,
            'login' => $options->getUsername(),
            'password' => $options->getPassword(),
            'wt' => 'phps'
        ];
        $key = md5(implode(':', $options));
        
        if (!isset($this->clients[$key])) {
            $this->clients[$key] = new SolrClient($options);
        }

        return $this->clients[$key];
    }
public function getClient($path = '/solr')
    {
        $options = $this->options;
        $options = [
            'secure' => $options->isSecure(),
            'hostname' => $options->getHostname(),
            'port' => $options->getPort(),
            'path' => $path,
            'login' => $options->getUsername(),
            'password' => $options->getPassword(),
            'wt' => 'phps'
        ];
        $key = md5(implode(':', $options));
        
        if (!isset($this->clients[$key])) {
            $this->clients[$key] = new SolrClient($options);
        }

        return $this->clients[$key];
    }
public function getClient ( $ path = '/solr' ) { $ options = $ this -> options ; $ options = [ 'secure' => $ options -> isSecure ( ) , 'hostname' => $ options -> getHostname ( ) , 'port' => $ options -> getPort ( ) , 'path' => $ path , 'login' => $ options -> getUsername ( ) , 'password' => $ options -> getPassword ( ) , 'wt' => 'phps' ] ; $ key = md5 ( implode ( ':' , $ options ) ) ; if ( ! isset ( $ this -> clients [ $ key ] ) ) { $ this -> clients [ $ key ] = new SolrClient ( $ options ) ; } return $ this -> clients [ $ key ] ; }
Get SolrClient with custom path option

@param string $path
@return SolrClient
Get SolrClient with custom path option