|
|
@ -42,11 +42,7 @@ module.exports.tests.search = function(test, common) { |
|
|
|
"input": [ |
|
|
|
"input": [ |
|
|
|
"'round midnight jazz and blues bar" |
|
|
|
"'round midnight jazz and blues bar" |
|
|
|
], |
|
|
|
], |
|
|
|
"payload": { |
|
|
|
"output": "osmnode:2208150035" |
|
|
|
"id": "osmnode/2208150035", |
|
|
|
|
|
|
|
"geo": "-0.10697160000000001,51.53371440000001" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"output": "'Round Midnight Jazz and Blues Bar, Angel, United Kingdom" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -72,11 +68,7 @@ module.exports.tests.search = function(test, common) { |
|
|
|
"input": [ |
|
|
|
"input": [ |
|
|
|
"blues cafe" |
|
|
|
"blues cafe" |
|
|
|
], |
|
|
|
], |
|
|
|
"payload": { |
|
|
|
"output": "osmway:147495160" |
|
|
|
"id": "osmway/147495160", |
|
|
|
|
|
|
|
"geo": "-0.101795,51.517806" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"output": "Blues Cafe, test3, COL" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
]; |
|
|
|
]; |
|
|
@ -97,7 +89,7 @@ module.exports.tests.search = function(test, common) { |
|
|
|
"id": "id1", |
|
|
|
"id": "id1", |
|
|
|
"type": "type1", |
|
|
|
"type": "type1", |
|
|
|
"layer": "type1", |
|
|
|
"layer": "type1", |
|
|
|
"text": "'Round Midnight Jazz and Blues Bar, Angel, United Kingdom", |
|
|
|
"text": "'Round Midnight Jazz and Blues Bar, test3, Angel", |
|
|
|
"name": "'Round Midnight Jazz and Blues Bar", |
|
|
|
"name": "'Round Midnight Jazz and Blues Bar", |
|
|
|
"alpha3": "GBR", |
|
|
|
"alpha3": "GBR", |
|
|
|
"admin0": "United Kingdom", |
|
|
|
"admin0": "United Kingdom", |
|
|
@ -122,7 +114,7 @@ module.exports.tests.search = function(test, common) { |
|
|
|
"id": "id2", |
|
|
|
"id": "id2", |
|
|
|
"type": "type2", |
|
|
|
"type": "type2", |
|
|
|
"layer": "type2", |
|
|
|
"layer": "type2", |
|
|
|
"text": "Blues Cafe, Smithfield, United Kingdom", |
|
|
|
"text": "Blues Cafe, test3, Smithfield", |
|
|
|
"name": "Blues Cafe", |
|
|
|
"name": "Blues Cafe", |
|
|
|
"alpha3": "GBR", |
|
|
|
"alpha3": "GBR", |
|
|
|
"admin0": "United Kingdom", |
|
|
|
"admin0": "United Kingdom", |
|
|
|