X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a8a700e16d286971c43c013b322a1fd4a339de4d..63f53beb972ef51cc0c0c6ecc3c134e7d4cb6284:/lib/SearchDescription.php diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index bf45dada..d78bf975 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -326,7 +326,7 @@ class SearchDescription ) { if ($aSearchTerm['search_name_count'] + 1 < CONST_Max_Word_Frequency) { $oSearch = clone $this; - $oSearch->iSearchRank++; + $oSearch->iSearchRank += 2; $oSearch->aAddress[$iWordID] = $iWordID; $aNewSearches[] = $oSearch; } else {