mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-10-27 11:42:46 +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) {
|
if (sizeof($aStructuredQuery) > 0) {
|
||||||
$sQuery = join(', ', $aStructuredQuery);
|
$sQuery = join(', ', $aStructuredQuery);
|
||||||
$sAllowedTypesSQLList = '(\'place\',\'boundary\')';
|
if ($iMaxAddressRank < 30)
|
||||||
|
{
|
||||||
|
$sAllowedTypesSQLList = '(\'place\',\'boundary\')';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($sQuery)
|
if ($sQuery)
|
||||||
@ -1140,7 +1143,7 @@
|
|||||||
if ($iGroupLoop > 4) break;
|
if ($iGroupLoop > 4) break;
|
||||||
if ($iQueryLoop > 30) break;
|
if ($iQueryLoop > 30) break;
|
||||||
}
|
}
|
||||||
//exit;
|
|
||||||
// Did we find anything?
|
// Did we find anything?
|
||||||
if (isset($aResultPlaceIDs) && sizeof($aResultPlaceIDs))
|
if (isset($aResultPlaceIDs) && sizeof($aResultPlaceIDs))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user