mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-10-27 03:29:24 +03:00
For structured queries remove type list for building / street level features
This commit is contained in:
parent
3d8d52632b
commit
550523df1b
@ -163,7 +163,10 @@
|
||||
}
|
||||
if (sizeof($aStructuredQuery) > 0) {
|
||||
$sQuery = join(', ', $aStructuredQuery);
|
||||
$sAllowedTypesSQLList = '(\'place\',\'boundary\')';
|
||||
if ($iMaxAddressRank < 30)
|
||||
{
|
||||
$sAllowedTypesSQLList = '(\'place\',\'boundary\')';
|
||||
}
|
||||
}
|
||||
|
||||
if ($sQuery)
|
||||
@ -1140,7 +1143,7 @@
|
||||
if ($iGroupLoop > 4) break;
|
||||
if ($iQueryLoop > 30) break;
|
||||
}
|
||||
//exit;
|
||||
|
||||
// Did we find anything?
|
||||
if (isset($aResultPlaceIDs) && sizeof($aResultPlaceIDs))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user