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.
58 lines
1.1 KiB
58 lines
1.1 KiB
6 years ago
|
{
|
||
|
"name": "autocomplete stop words",
|
||
|
"notes": "https://github.com/pelias/schema/issues/105",
|
||
|
"endpoint": "autocomplete",
|
||
|
"priorityThresh": 5,
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": "1",
|
||
|
"status": "pass",
|
||
|
"user": "missinglink",
|
||
|
"priorityThresh": 5,
|
||
|
"in": {
|
||
|
"text": "world trade center"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "World Trade Center"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "2",
|
||
|
"status": "pass",
|
||
|
"user": "missinglink",
|
||
|
"priorityThresh": 5,
|
||
|
"in": {
|
||
|
"text": "242 hackney road"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "242 Hackney Road"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "3",
|
||
|
"status": "pass",
|
||
|
"user": "missinglink",
|
||
|
"description": [ "case of a query ending in a directional (west)" ],
|
||
|
"priorityThresh": 3,
|
||
|
"in": {
|
||
|
"text": "moscone west"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Moscone Convention Center West"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|