2 Feature: Search queries
3 Generic search result correctness
5 Scenario: House number search for non-street address
6 When sending json search query "2 Steinwald, Austria" with address
9 Then address of result 0 is
12 | hamlet | Steinwald |
17 Scenario: House number interpolation even
18 When sending json search query "Schellingstr 86, Hamburg" with address
21 Then address of result 0 is
24 | road | Schellingstraße |
27 | city_district | Wandsbek |
29 | country | Deutschland |
32 Scenario: House number interpolation odd
33 When sending json search query "Schellingstr 73, Hamburg" with address
36 Then address of result 0 is
39 | road | Schellingstraße |
42 | city_district | Wandsbek |
44 | country | Deutschland |
48 Scenario: TIGER house number
49 When sending json search query "323 22nd Street Southwest, Huron"
54 Scenario: Search with class-type feature
55 When sending jsonv2 search query "Hotel in California"
60 Scenario: Search with specific amenity
61 When sending json search query "[restaurant] Vaduz" with address
62 Then result addresses contain
67 | amenity | restaurant |
69 Scenario: Search with key-value amenity
70 When sending json search query "[shop=hifi] hamburg"
75 Scenario: With multiple amenity search only the first is used
76 When sending json search query "[shop=hifi] [church] hamburg"
81 Scenario: With multiple amenity search only the first is used
82 When sending json search query "[church] [restaurant] hamburg"
85 | amenity | place_of_worship |
87 # https://trac.openstreetmap.org/ticket/5094
88 Scenario: housenumbers are ordered by complete match first
89 When sending json search query "6395 geminis, montevideo" with address
90 Then result addresses contain