{ "name": "autocomplete daly city", "notes": "https://github.com/pelias/pelias/issues/191", "endpoint": "autocomplete", "priorityThresh": 1, "tests": [ { "id": "1", "status": "fail", "user": "missinglink", "description": [ "'Daly City' city not returned for 'dal' due to other more relevant..", "results such as 'Dal, Sweden' matching.", "'Daly City' is correctly returned from 'daly' (4 chars) onwards", "This behaviour will fluctuate with changes to regional/local balance" ], "priorityThresh": 1, "in": { "focus.point.lat": "37.769316", "focus.point.lon": "-122.484223", "text": "dal" }, "expected": { "priorityThresh": 3, "properties": [ { "name": "Daly City" } ] } }, { "id": "2", "status": "pass", "user": "missinglink", "description": [ "as per above, except there are other places closer to the focus", "point than the centroid of Daly City" ], "in": { "focus.point.lat": "37.769316", "focus.point.lon": "-122.484223", "text": "daly" }, "expected": { "priorityThresh": 5, "properties": [ { "name": "Daly City" } ] } }, { "id": "3", "status": "pass", "user": "missinglink", "description": [ "as per above, except there are other places closer to the focus", "point than the centroid of Daly City" ], "in": { "focus.point.lat": "37.769316", "focus.point.lon": "-122.484223", "text": "daly " }, "expected": { "priorityThresh": 5, "properties": [ { "name": "Daly City" } ] } }, { "id": "4", "status": "pass", "user": "missinglink", "in": { "focus.point.lat": "37.769316", "focus.point.lon": "-122.484223", "text": "daly c" }, "expected": { "properties": [ { "name": "Daly City" } ] } }, { "id": "5", "status": "pass", "user": "missinglink", "in": { "focus.point.lat": "37.769316", "focus.point.lon": "-122.484223", "text": "daly ci" }, "expected": { "properties": [ { "name": "Daly City" } ] } }, { "id": "6", "status": "pass", "user": "missinglink", "in": { "focus.point.lat": "37.769316", "focus.point.lon": "-122.484223", "text": "daly cit" }, "expected": { "properties": [ { "name": "Daly City" } ] } }, { "id": "7", "status": "pass", "user": "missinglink", "in": { "focus.point.lat": "37.769316", "focus.point.lon": "-122.484223", "text": "daly city" }, "expected": { "properties": [ { "name": "Daly City" } ] } } ] }