{"action":"created","issue":{"url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-android/issues/722","repository_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-android","labels_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-android/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-android/issues/722/comments","events_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-android/issues/722/events","html_url":"https://github.com/the-blue-alliance/the-blue-alliance-android/issues/722","id":151501622,"number":722,"title":"More forgiving team/event name search terms, like on TBA web","user":{"login":"1fish2","id":1043120,"avatar_url":"https://avatars.githubusercontent.com/u/1043120?v=3","gravatar_id":"","url":"https://api.github.com/users/1fish2","html_url":"https://github.com/1fish2","followers_url":"https://api.github.com/users/1fish2/followers","following_url":"https://api.github.com/users/1fish2/following{/other_user}","gists_url":"https://api.github.com/users/1fish2/gists{/gist_id}","starred_url":"https://api.github.com/users/1fish2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1fish2/subscriptions","organizations_url":"https://api.github.com/users/1fish2/orgs","repos_url":"https://api.github.com/users/1fish2/repos","events_url":"https://api.github.com/users/1fish2/events{/privacy}","received_events_url":"https://api.github.com/users/1fish2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-27T22:01:07Z","updated_at":"2016-04-27T22:22:21Z","closed_at":null,"body":"* Searching the Android app for \"high rollers\" finds no teams (or events).\r\n* Searching for \"rollers\" finds no teams (or events).\r\n* Searching for \"high\" finds 5 teams and \"56 more\" (also one event). Not a very selective query.\r\n* Searching [TBA web for \"high rollers\"](http://www.thebluealliance.com/search?cx=017956276086362105630%3A99ctqytcokm&cof=FORID%3A11&ie=UTF-8&q=high+rollers) does find info on \"HIGHROLLERS - Team 987\". OK, so the team spells their name as a single word.\r\n* Searching TBA web for \"rollers\" also works."},"comment":{"url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-android/issues/comments/215249481","html_url":"https://github.com/the-blue-alliance/the-blue-alliance-android/issues/722#issuecomment-215249481","issue_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-android/issues/722","id":215249481,"user":{"login":"1fish2","id":1043120,"avatar_url":"https://avatars.githubusercontent.com/u/1043120?v=3","gravatar_id":"","url":"https://api.github.com/users/1fish2","html_url":"https://github.com/1fish2","followers_url":"https://api.github.com/users/1fish2/followers","following_url":"https://api.github.com/users/1fish2/following{/other_user}","gists_url":"https://api.github.com/users/1fish2/gists{/gist_id}","starred_url":"https://api.github.com/users/1fish2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1fish2/subscriptions","organizations_url":"https://api.github.com/users/1fish2/orgs","repos_url":"https://api.github.com/users/1fish2/repos","events_url":"https://api.github.com/users/1fish2/events{/privacy}","received_events_url":"https://api.github.com/users/1fish2/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T22:22:21Z","updated_at":"2016-04-27T22:22:21Z","body":"It needn't work the same as the web. (In fact I really like the fact that it structures the result as a list of teams and a list of events.)\r\n\r\nI'd be happy if it's simply more forgiving so people are much more likely to successfuly find a team or event despite misspelling a funky name like \"The G.O.A.T.S\", \"Rocktaπ\", \"Robo-Wolves\", and \"IstanBULLS\".\r\n\r\nIf it has to ask the server, that seems OK.\r\n\r\nOr continue to do it offline by building a searchable table that works for some kinds of misspellings. First cut: Discard all punctuation from the names and the query, then search for `LIKE '%query%'`."}}