]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/SearchDescription.php
use closest containing place for unlisted addr:place
[nominatim.git] / lib / SearchDescription.php
index bb478b29b88af4fbcef3a174d8e5405cedd616ea..33b766a5f5fcacbe09f596d6221370ca49456ef9 100644 (file)
@@ -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))";