public function getSolrconfigName()
    {
        if (is_null($this->solrconfigName)) {
            $solrconfigXmlUrl = $this->_constructUrl(self::FILE_SERVLET, ['file' => 'solrconfig.xml']);
            $response = $this->_sendRawGet($solrconfigXmlUrl);
            $solrconfigXml = simplexml_load_string($response->getRawResponse());
            if ($solrconfigXml === false) {
                throw new \InvalidArgumentException('No valid xml response from schema file: ' . $solrconfigXmlUrl);
            }
            $this->solrconfigName = (string)$solrconfigXml->attributes()->name;
        }

        return $this->solrconfigName;
    }
public function getSolrconfigName()
    {
        if (is_null($this->solrconfigName)) {
            $solrconfigXmlUrl = $this->_constructUrl(self::FILE_SERVLET, ['file' => 'solrconfig.xml']);
            $response = $this->_sendRawGet($solrconfigXmlUrl);
            $solrconfigXml = simplexml_load_string($response->getRawResponse());
            if ($solrconfigXml === false) {
                throw new \InvalidArgumentException('No valid xml response from schema file: ' . $solrconfigXmlUrl);
            }
            $this->solrconfigName = (string)$solrconfigXml->attributes()->name;
        }

        return $this->solrconfigName;
    }
public function getSolrconfigName ( ) { if ( is_null ( $ this -> solrconfigName ) ) { $ solrconfigXmlUrl = $ this -> _constructUrl ( self :: FILE_SERVLET , [ 'file' => 'solrconfig.xml' ] ) ; $ response = $ this -> _sendRawGet ( $ solrconfigXmlUrl ) ; $ solrconfigXml = simplexml_load_string ( $ response -> getRawResponse ( ) ) ; if ( $ solrconfigXml === false ) { throw new \ InvalidArgumentException ( 'No valid xml response from schema file: ' . $ solrconfigXmlUrl ) ; } $ this -> solrconfigName = ( string ) $ solrconfigXml -> attributes ( ) -> name ; } return $ this -> solrconfigName ; }
Gets the name of the solrconfig.xml file installed and in use on the Solr
server.

@return string Name of the active solrconfig.xml
Gets the name of the solrconfig . xml file installed and in use on the Solr server .