2 Feature: Creation of search terms
3 Tests that search_name table is filled correctly
5 Scenario: POIs without a name have no search entry
6 Given the scene roads-with-pois
8 | osm_id | class | type | geometry
9 | 1 | place | house | :p-N1
11 | osm_id | class | type | geometry
12 | 1 | highway | residential | :w-north
14 Then table search_name has no entry for N1
17 Scenario: Named POIs inherit address from parent
18 Given the scene roads-with-pois
20 | osm_id | class | type | name | geometry
21 | 1 | place | house | foo | :p-N1
23 | osm_id | class | type | name | geometry
24 | 1 | highway | residential | the road | :w-north
26 Then search_name table contains
27 | place_id | name_vector | nameaddress_vector