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);
    }
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);
    }
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 ) ; }
Returns the defaultTimeout used for requests to the Solr server

plugin.tx_solr.solr.timeout

@param int $defaultIfEmpty
@return int
Returns the defaultTimeout used for requests to the Solr server