mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
use highest admin boundary for duplicated ones
This commit is contained in:
@@ -934,6 +934,8 @@ class Geocode
|
|||||||
} else {
|
} else {
|
||||||
$aResult['foundorder'] += 0.01;
|
$aResult['foundorder'] += 0.01;
|
||||||
}
|
}
|
||||||
|
// - rank
|
||||||
|
$aResult['foundorder'] -= 0.00001 * (30 - $aResult['rank_search']);
|
||||||
|
|
||||||
// Adjust importance for the number of exact string matches in the result
|
// Adjust importance for the number of exact string matches in the result
|
||||||
$iCountWords = 0;
|
$iCountWords = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user