use highest admin boundary for duplicated ones

This commit is contained in:
Sarah Hoffmann
2020-10-26 21:11:06 +01:00
parent abd20d3ca6
commit 5872b81232

View File

@@ -934,6 +934,8 @@ class Geocode
} else {
$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
$iCountWords = 0;