public function getSolrPath($defaultIfEmpty = '/solr/core_en/', $scope = 'read')
    {
        $scopePath = 'plugin.tx_solr.solr.' . $scope . '.path';
        $fallbackPath = 'plugin.tx_solr.solr.path';

        $solrPath =  $this->getValueByPathWithFallbackOrDefaultValueAndApplyStdWrap($scopePath, $fallbackPath, $defaultIfEmpty);

        $solrPath = trim($solrPath, '/');
        $solrPath = '/' . $solrPath . '/';

        return $solrPath;
    }
public function getSolrPath($defaultIfEmpty = '/solr/core_en/', $scope = 'read')
    {
        $scopePath = 'plugin.tx_solr.solr.' . $scope . '.path';
        $fallbackPath = 'plugin.tx_solr.solr.path';

        $solrPath =  $this->getValueByPathWithFallbackOrDefaultValueAndApplyStdWrap($scopePath, $fallbackPath, $defaultIfEmpty);

        $solrPath = trim($solrPath, '/');
        $solrPath = '/' . $solrPath . '/';

        return $solrPath;
    }
public function getSolrPath ( $ defaultIfEmpty = '/solr/core_en/' , $ scope = 'read' ) { $ scopePath = 'plugin.tx_solr.solr.' . $ scope . '.path' ; $ fallbackPath = 'plugin.tx_solr.solr.path' ; $ solrPath = $ this -> getValueByPathWithFallbackOrDefaultValueAndApplyStdWrap ( $ scopePath , $ fallbackPath , $ defaultIfEmpty ) ; $ solrPath = trim ( $ solrPath , '/' ) ; $ solrPath = '/' . $ solrPath . '/' ; return $ solrPath ; }
Returns the path used for requests to the Solr server

plugin.tx_solr.solr.path

Applies stdWrap on the configured setting

@param string $defaultIfEmpty
@param string $scope read or write, read by default
@return string
Returns the path used for requests to the Solr server