public function getSolrTimeout($defaultIfEmpty = 0, $scope = 'read')
    {
        $scopePath = 'plugin.tx_solr.solr.' . $scope . '.timeout';
        $fallbackPath = 'plugin.tx_solr.solr.timeout';
        $result = (int)$this->getValueByPathOrDefaultValue($scopePath, -1);
        if($result !== -1) {
            return $result;
        }

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