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