]> git.openstreetmap.org Git - nominatim.git/commitdiff
adapt tests to new search ranks
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 30 May 2020 09:50:04 +0000 (11:50 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 17 Jun 2020 08:53:11 +0000 (10:53 +0200)
settings/address-levels.json
test/bdd/db/import/placex.feature

index b7fbe2f2f2f06f8ec1a822fb6c34bcc311be28ff..766098dd80c1396fd55c5afe5acfe9b6b6f5f33f 100644 (file)
@@ -10,7 +10,7 @@
           "province" : [8, 0],
           "region" : [18, 0],
           "county" : 12,
-          "municipality" : [17, 14],
+          "municipality" : 14,
           "city" : 16,
           "town" : [18, 16],
           "borough" : 18,
index 07bb429526077275fb2e75452bedd5caf78cb500..531483b316bfce5d29dfa9d4e169175fa0f4c82d 100644 (file)
@@ -175,19 +175,19 @@ Feature: Import into placex
           | N20    | 18          | 16 |
           | N21    | 19          | 16 |
           | N22    | 20          | 20 |
-          | N23    | 17          | 14 |
+          | N23    | 14          | 14 |
           | N24    | 19          | 16 |
-          | N26    | 19          | 18 |
-          | N27    | 20          | 20 |
+          | N26    | 18          | 18 |
+          | N27    | 19          | 20 |
           | N28    | 20          | 20 |
           | N29    | 20          | 20 |
-          | N30    | 20          | 20 |
+          | N30    | 22          | 20 |
           | N31    | 20          | 0 |
           | N32    | 20          | 0 |
           | N33    | 20          | 0 |
           | N34    | 20          | 0 |
           | N101   | 15          | 16 |
-          | N35    | 22          | 22 |
+          | N35    | 20          | 22 |
           | N36    | 30          | 30 |
           | N37    | 30          | 30 |
           | N38    | 28          | 0 |