X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/eb615347d28738cdf553112afe5623c7d7ae9344..119ffbab40f3422855ca2c769b9e266d6a446d58:/lib/SearchDescription.php diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index 079cb8a6..35424b52 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -287,7 +287,7 @@ class SearchDescription if (!empty($this->aName) || !($bFirstPhrase || $sPhraseType == '')) { if (($sPhraseType == '' || !$bFirstPhrase) && !$bHasPartial) { $oSearch = clone $this; - $oSearch->iSearchRank++; + $oSearch->iSearchRank += 2; $oSearch->aAddress[$iWordID] = $iWordID; $aNewSearches[] = $oSearch; } else {