public function getSolrPort($defaultIfEmpty = 8983, $scope = 'read')
    {
        $scopePath = 'plugin.tx_solr.solr.' . $scope . '.port';
        $fallbackPath = 'plugin.tx_solr.solr.port';

        return (int)$this->getValueByPathWithFallbackOrDefaultValueAndApplyStdWrap($scopePath, $fallbackPath, $defaultIfEmpty);
    }