From: (Joy) Yuanyue Ding Date: Wed, 8 Jul 2020 15:47:38 +0000 (+0200) Subject: Modifiy the range of address_rank, fix for issue #164 X-Git-Tag: v3.6.0~109^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/cac8a8df18b3a80be7983e90935667f96a9fcff7 Modifiy the range of address_rank, fix for issue #164 --- diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index bb478b29..33b766a5 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -657,7 +657,7 @@ class SearchDescription } if ($this->sHouseNumber) { - $aTerms[] = 'address_rank between 16 and 27'; + $aTerms[] = 'address_rank between 16 and 30'; } elseif (!$this->sClass || $this->iOperator == Operator::NAME) { if ($iMinAddressRank > 0) { $aTerms[] = "((address_rank between $iMinAddressRank and $iMaxAddressRank) or (search_rank between $iMinAddressRank and $iMaxAddressRank))";