{"action":"created","issue":{"url":"https://api.github.com/repos/pelias/pelias/issues/165","labels_url":"https://api.github.com/repos/pelias/pelias/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/pelias/pelias/issues/165/comments","events_url":"https://api.github.com/repos/pelias/pelias/issues/165/events","html_url":"https://github.com/pelias/pelias/issues/165","id":114519262,"number":165,"title":"BUG: Focus Point Autocomplete - Jumpy Address Search","user":{"login":"riordan","id":227472,"avatar_url":"https://avatars.githubusercontent.com/u/227472?v=3","gravatar_id":"","url":"https://api.github.com/users/riordan","html_url":"https://github.com/riordan","followers_url":"https://api.github.com/users/riordan/followers","following_url":"https://api.github.com/users/riordan/following{/other_user}","gists_url":"https://api.github.com/users/riordan/gists{/gist_id}","starred_url":"https://api.github.com/users/riordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riordan/subscriptions","organizations_url":"https://api.github.com/users/riordan/orgs","repos_url":"https://api.github.com/users/riordan/repos","events_url":"https://api.github.com/users/riordan/events{/privacy}","received_events_url":"https://api.github.com/users/riordan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pelias/pelias/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/pelias/pelias/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"riordan","id":227472,"avatar_url":"https://avatars.githubusercontent.com/u/227472?v=3","gravatar_id":"","url":"https://api.github.com/users/riordan","html_url":"https://github.com/riordan","followers_url":"https://api.github.com/users/riordan/followers","following_url":"https://api.github.com/users/riordan/following{/other_user}","gists_url":"https://api.github.com/users/riordan/gists{/gist_id}","starred_url":"https://api.github.com/users/riordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riordan/subscriptions","organizations_url":"https://api.github.com/users/riordan/orgs","repos_url":"https://api.github.com/users/riordan/repos","events_url":"https://api.github.com/users/riordan/events{/privacy}","received_events_url":"https://api.github.com/users/riordan/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-11-02T03:47:46Z","updated_at":"2016-01-11T21:15:25Z","closed_at":null,"body":"__this is very much in progress__\n\n- [ ] Needs acceptance tests added\n\n\n:rotating_light: **THIS IS A BLOCKER FOR ERASERMAP**:rotating_light:\n\nFocus point should be able to boost address searches within a sufficiently large distance from the user's current point.\n\nIntroducing more consistency into autocomplete results (preferring exact matches, particularly exact start of phrase matches for addresses) should assist with this.\n\n### Example: Looking for 190 Dean Street, in Brooklyn, NY, starting from [Orient Point](https://en.wikipedia.org/wiki/Orient,_New_York) on Long Island.\n\nLet's say I'm out at the [furthest tip of Long Island's north fork](https://en.wikipedia.org/wiki/Orient,_New_York) and have a reservation at [Rucola](http://nymag.com/listings/restaurant/rucola/) a favorite neighbourhood restaurant in Brooklyn.\n\n> **_[1](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=1)_** \n>   1)\tVuwani 1, NORTHERN PROVINCE, South Africa :x:\n 2)\tMdutjana 1, MPUMALANGA, South Africa\n 3)\tMoretele 1, NORTH WEST, South Africa\n 4)\tMdantsane 1, EASTERN CAPE, South Africa\n\n\n> **_[19](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=19)_**\n>   1)\tParis 19, PARIS-19E-ARRONDISSEMENT, France :x:\n 2)\t19 de Febrero de 1812, Cuautla, Mexico\n 3)\tKilómetro 19, El Fuerte, Mexico\n 4)\tColonia 19 de Marzo (Colonia San José), Heroica Ciudad de Juchitán de Zaragoza, Mexico\n\n> **_[190](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190)_**\n>   1)\t190 D Street, Groton, CT :x:\n 2)\t190, South West, Singapore\n 3)\t190, Headington, Oxfordshire\n 4)\t190, Blangpidie, Indonesia\n\n> **_[190 *space*](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20 )_**\n>   1)\t190 D Street, Groton, CT :x:\n 2)\t190, South West, Singapore\n 3)\t190, Headington, Oxfordshire\n 4)\t190, Blangpidie, Indonesia\n\n> **_[190 d](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20d)_**\n> 1)\t190 D Street, Groton, CT :x:\n 2)\t190 D Street, Lowell, MA\n 3)\t190 D Street, Johnstown, PA\n 4)\t190 D Street, Chula Vista, CA\n\n> **_[190 de](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20de)_**\n>   1)\t190 De Dennen, Bussum, Netherlands :x:\n 2)\t190 De Dennen, Bussum, Netherlands\n 3)\t190 De Haernestraat, Brussel, Belgium\n 4)\t190 De Lange Akker, Vaals, Netherlands\n\n> **_[190 dea](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dea)_**\n>  1)\t19 Dean Road, East Lyme, CT :x:\n 2)\t1902 Deerfield Road, Southampton, NY\n 3)\t1903 Deerfield Road, Southampton, NY\n 4)\t190 Deerfield Road, Southampton, NY\n\n> **_[190 dean](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dean)_**\n>  1)\t190 Dean Street, Brooklyn, NY :white_check_mark: \n 2)\t190 Dean Street, Norwood, MA\n 3)\t190 Dean Street, Brooklyn, NY\n 4)\t190 Dean Road, Alamo, CA\n\n> **_[190 dean s](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dean%20s)_**\n 1)\tSekgosese 1, NORTHERN PROVINCE, South Africa :x:\n 2)\t19 Dean Road, East Lyme, CT\n 3)\t0 Dean Road, East Lyme, CT\n 4)\t9 Dean Road, East Lyme, CT\n\n> **_[190 dean st](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dean%20st)_**\n 1)\t190 Dean Street, Brooklyn, NY :white_check_mark: \n 2)\t190 Dean Street, Norwood, MA\n 3)\t190 Dean Street, Brooklyn, NY\n 4)\t190 Dean Street, Berserker, Australia\n\n> **_[190 dean str]\n(http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dean%20str)_**\n 1)\tSekgosese 1, NORTHERN PROVINCE, South Africa ¯\\_(ツ)_/¯\n 2)\t19 Dean Road, East Lyme, CT\n 3)\t0 Dean Road, East Lyme, CT\n 4)\t9 Dean Road, East Lyme, CT\n\n> **_[190 dean stre](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dean%20stre)_**\n>   1)\t19 Dean Road, East Lyme, CT ¯\\_(ツ)_/¯\n 2)\tSekgosese 1, NORTHERN PROVINCE, South Africa\n 3)\tDunajska Streda, Trnavský kraj, Slovakia\n 4)\t0 Dean Road, East Lyme, CT\n\n> **_[190 dean stree](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dean%20stree)_**\n 1)\t19 Dean Road, East Lyme, CT ¯\\_(ツ)_/¯\n 2)\tSekgosese 1, NORTHERN PROVINCE, South Africa\n 3)\t0 Dean/Hill Streets, Raynham, MA\n 4)\t0 Dean Road, East Lyme, CT\n 5)\t9 Dean Road, East Lyme, CT\n\n\n> **_[190 dean street](http://pelias.github.io/compare/#/v1/autocomplete%3F&focus.point.lat=41.145278&focus.point.lon=-72.288611&text=190%20dean%20s)_**\n 1)\t190 Dean Street, Brooklyn, NY :white_check_mark: \n 2)\t190 Dean Street, Norwood, MA\n 3)\t190 Dean Street, Brooklyn, NY\n 4)\t190 Dean Street, Berserker, Australia\n\ncc: @randymeech"},"comment":{"url":"https://api.github.com/repos/pelias/pelias/issues/comments/170692015","html_url":"https://github.com/pelias/pelias/issues/165#issuecomment-170692015","issue_url":"https://api.github.com/repos/pelias/pelias/issues/165","id":170692015,"user":{"login":"orangejulius","id":111716,"avatar_url":"https://avatars.githubusercontent.com/u/111716?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejulius","html_url":"https://github.com/orangejulius","followers_url":"https://api.github.com/users/orangejulius/followers","following_url":"https://api.github.com/users/orangejulius/following{/other_user}","gists_url":"https://api.github.com/users/orangejulius/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejulius/subscriptions","organizations_url":"https://api.github.com/users/orangejulius/orgs","repos_url":"https://api.github.com/users/orangejulius/repos","events_url":"https://api.github.com/users/orangejulius/events{/privacy}","received_events_url":"https://api.github.com/users/orangejulius/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T21:15:25Z","updated_at":"2016-01-11T21:15:25Z","body":"The branch in #196 is where I've been putting acceptance tests for these sorts of issues. Help creating tests or adding to the list of checkboxes is welcome."}}