X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c9a63508943d92cfe2a1f5d2c12454662bb46770..b8ebc169b104dae171731288a5a8a7b569d22530:/lib/SearchDescription.php diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index 506d4202..47676d59 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -187,7 +187,7 @@ class SearchDescription ) { if (!$this->sCountryCode) { $oSearch = clone $this; - $oSearch->iSearchRank++; + $oSearch->iSearchRank += 2; $oSearch->sCountryCode = $oSearchTerm->sCountryCode; // Country is almost always at the end of the string // - increase score for finding it anywhere else (optimisation)