mirror of https://github.com/pelias/docker.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.8 KiB
79 lines
1.8 KiB
6 years ago
|
{
|
||
|
"name": "fallback queries",
|
||
|
"priorityThresh": 5,
|
||
|
"endpoint": "search",
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"type": "dev",
|
||
|
"notes": [
|
||
|
"this test verifies that a housenumber+street outscores the very common city of berlin",
|
||
|
"https://github.com/pelias/pelias/issues/442"
|
||
|
],
|
||
|
"in": {
|
||
|
"text": "grolmanstraße 51, berlin"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "address",
|
||
|
"country_a": "DEU",
|
||
|
"locality": "Berlin",
|
||
|
"housenumber": "51",
|
||
|
"street": "Grolmanstraße"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 2,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"type": "dev",
|
||
|
"notes": [
|
||
|
"this test verifies that a street outscores the very common city of berlin",
|
||
|
"https://github.com/pelias/pelias/issues/442"
|
||
|
],
|
||
|
"in": {
|
||
|
"text": "grolmanstraße, berlin"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "street",
|
||
|
"country_a": "DEU",
|
||
|
"locality": "Berlin",
|
||
|
"street": "Grolmanstraße"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 3,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"type": "dev",
|
||
|
"notes": [
|
||
|
"this test verifies that a housenumber+street outscores the very common city of berlin",
|
||
|
"https://github.com/pelias/pelias/issues/442"
|
||
|
],
|
||
|
"in": {
|
||
|
"text": "101 california, san francisco"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "address",
|
||
|
"country_a": "USA",
|
||
|
"locality": "San Francisco",
|
||
|
"housenumber": "101",
|
||
|
"street": "California"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|