X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6a3c6c43ea7133c934834ce1face9212f4e3d239..b94229fb8eeb75cd7799b80539c2d4b525f43442:/lib/SearchDescription.php diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index bf45dada..60d74173 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -360,7 +360,7 @@ class SearchDescription && (!sizeof($this->aName) || $this->iNamePhrase == $iPhrase) ) { $oSearch = clone $this; - $oSearch->iSearchRank++; + $oSearch->iSearchRank += 2; if (!sizeof($this->aName)) { $oSearch->iSearchRank += 1; }