]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/db/query/linking.feature
adapt frontend to new interpolation table layout
[nominatim.git] / test / bdd / db / query / linking.feature
1 @DB
2 Feature: Searching linked places
3     Tests that information from linked places can be searched correctly
4
5     Scenario: Additional names from linked places are searchable
6         Given the places
7          | osm  | class    | type           | admin | name  | geometry |
8          | R13  | boundary | administrative | 6     | Garbo | poly-area:0.1 |
9         Given the places
10          | osm  | class    | type           | admin | name+name:it | geometry |
11          | N2   | place    | hamlet         | 15    | Vario        | 0.006 0.00001 |
12         And the relations
13          | id | members       | tags+type |
14          | 13 | N2:label      | boundary |
15         When importing
16         Then placex contains
17          | object  | linked_place_id |
18          | N2      | R13 |
19         When sending search query "Vario"
20         Then results contain
21          | osm |
22          | R13 |