X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/637c5c2936a54e207a540ef0444b96a2fc0c1a80..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; }