X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/63f53beb972ef51cc0c0c6ecc3c134e7d4cb6284..e0ead17ad93bd34fde9ccdf3844d7c608dc7c12a:/lib/SearchDescription.php diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index d78bf975..13775d65 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; }