public function getResultByURI($uri)
    {
        $res = null;
        foreach ($this->results as $result) {
            if ($result->getURI() === $uri) {
                $res = $result;
            }
        }
        return $res;
    }