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.
145 lines
3.7 KiB
145 lines
3.7 KiB
6 years ago
|
{
|
||
|
"name": "poi vs. admin areas balance",
|
||
|
"priorityThresh": 5,
|
||
|
"endpoint": "search",
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"status": "pass",
|
||
|
"endpoint": "autocomplete",
|
||
|
"issue": "https://github.com/pelias/api/issues/346",
|
||
|
"description": [
|
||
|
"When focus point is specified, results should slightly favor",
|
||
|
"nearby POIs, while still surfacing larger regions further away"
|
||
|
],
|
||
|
"user": "dianashk",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "starbucks",
|
||
|
"focus.point.lat": 40.743987,
|
||
|
"focus.point.lon": -73.990417
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Starbucks",
|
||
|
"layer": "venue",
|
||
|
"county": "New York County",
|
||
|
"locality": "New York"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 2,
|
||
|
"status": "pass",
|
||
|
"endpoint": "search",
|
||
|
"issue": "https://github.com/pelias/api/issues/346",
|
||
|
"description": [
|
||
|
"When focus point is specified, results should slightly favor",
|
||
|
"nearby POIs, while still surfacing larger regions further away"
|
||
|
],
|
||
|
"user": "dianashk",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "starbucks",
|
||
|
"focus.point.lat": 40.743987,
|
||
|
"focus.point.lon": -73.990417
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Starbucks",
|
||
|
"layer": "venue",
|
||
|
"county": "New York County",
|
||
|
"locality": "New York"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 3,
|
||
|
"status": "pass",
|
||
|
"endpoint": "autocomplete",
|
||
|
"issue": "https://github.com/pelias/api/issues/346",
|
||
|
"description": [
|
||
|
"When focus point is specified, results should slightly favor",
|
||
|
"nearby POIs, while still surfacing larger regions further away"
|
||
|
],
|
||
|
"user": "dianashk",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "mcdonalds",
|
||
|
"focus.point.lat": 40.743987,
|
||
|
"focus.point.lon": -73.990417
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "McDonald's",
|
||
|
"layer": "venue",
|
||
|
"county": "New York County",
|
||
|
"locality": "New York"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 4,
|
||
|
"status": "pass",
|
||
|
"endpoint": "search",
|
||
|
"issue": "https://github.com/pelias/api/issues/346",
|
||
|
"description": [
|
||
|
"When focus point is specified, results should slightly favor",
|
||
|
"nearby POIs, while still surfacing larger regions further away"
|
||
|
],
|
||
|
"user": "dianashk",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "mcdonalds",
|
||
|
"focus.point.lat": 40.743987,
|
||
|
"focus.point.lon": -73.990417
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "McDonald's",
|
||
|
"layer": "venue",
|
||
|
"county": "New York County",
|
||
|
"locality": "New York"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 5,
|
||
|
"status": "pass",
|
||
|
"endpoint": "autocomplete",
|
||
|
"issue": "https://github.com/pelias/api/issues/328",
|
||
|
"description": [
|
||
|
"When focus point is specified, results should slightly favor",
|
||
|
"nearby POIs, while still surfacing larger regions further away"
|
||
|
],
|
||
|
"user": "dianashk",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "katzs deli",
|
||
|
"focus.point.lat": 40.74686681162143,
|
||
|
"focus.point.lon": -73.98983001708986
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Katz's Delicatessen",
|
||
|
"country_a": "USA",
|
||
|
"region": "New York",
|
||
|
"county": "New York County",
|
||
|
"locality": "New York"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
|