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;
    }