{"action":"created","issue":{"url":"https://api.github.com/repos/google/personfinder/issues/283","repository_url":"https://api.github.com/repos/google/personfinder","labels_url":"https://api.github.com/repos/google/personfinder/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/google/personfinder/issues/283/comments","events_url":"https://api.github.com/repos/google/personfinder/issues/283/events","html_url":"https://github.com/google/personfinder/pull/283","id":173927131,"number":283,"title":"implement full text search for name/location boxes","user":{"login":"Stephanie1125","id":15961861,"avatar_url":"https://avatars.githubusercontent.com/u/15961861?v=3","gravatar_id":"","url":"https://api.github.com/users/Stephanie1125","html_url":"https://github.com/Stephanie1125","followers_url":"https://api.github.com/users/Stephanie1125/followers","following_url":"https://api.github.com/users/Stephanie1125/following{/other_user}","gists_url":"https://api.github.com/users/Stephanie1125/gists{/gist_id}","starred_url":"https://api.github.com/users/Stephanie1125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stephanie1125/subscriptions","organizations_url":"https://api.github.com/users/Stephanie1125/orgs","repos_url":"https://api.github.com/users/Stephanie1125/repos","events_url":"https://api.github.com/users/Stephanie1125/events{/privacy}","received_events_url":"https://api.github.com/users/Stephanie1125/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-30T04:25:05Z","updated_at":"2016-09-01T09:04:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/personfinder/pulls/283","html_url":"https://github.com/google/personfinder/pull/283","diff_url":"https://github.com/google/personfinder/pull/283.diff","patch_url":"https://github.com/google/personfinder/pull/283.patch"},"body":"So here is some change in this pull request:\r\n+ Edit the full_text_search.py to implement two boxes search(one for name, the other for location)\r\n+ Edit the old structure and added filter for location field. \r\n+ Edited the search function inside the results.py.\r\n\r\nInstead of sending a query_txt (string type), a query_list is sent into the search function in results.py.\r\nquery_list is a list contain [query_name, query_location]  and this is used in full_text_search.py because we are sending two query (query_name and query location), this is for distinguish between name and location queries.\r\nif there is no location input, the query_list[1] will be \"\"(empty string).\r\nand the query_name (query_list[0]) plays the role as the query_txt we have before (non-edit version: only contain the name part) \r\nI also edit the unit test/test_fulltext_search and server_test/person_note_tests.py and tools/all_tests are passed.\r\n\r\n+ Here is the new ui for searching: <br>\r\n![search](https://cloud.githubusercontent.com/assets/15961861/18075876/dbbf0f1e-6eb3-11e6-8e7f-fc88ee52f427.png)"},"comment":{"url":"https://api.github.com/repos/google/personfinder/issues/comments/244020162","html_url":"https://github.com/google/personfinder/pull/283#issuecomment-244020162","issue_url":"https://api.github.com/repos/google/personfinder/issues/283","id":244020162,"user":{"login":"kevinalle","id":3772143,"avatar_url":"https://avatars.githubusercontent.com/u/3772143?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinalle","html_url":"https://github.com/kevinalle","followers_url":"https://api.github.com/users/kevinalle/followers","following_url":"https://api.github.com/users/kevinalle/following{/other_user}","gists_url":"https://api.github.com/users/kevinalle/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinalle/subscriptions","organizations_url":"https://api.github.com/users/kevinalle/orgs","repos_url":"https://api.github.com/users/kevinalle/repos","events_url":"https://api.github.com/users/kevinalle/events{/privacy}","received_events_url":"https://api.github.com/users/kevinalle/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T09:04:42Z","updated_at":"2016-09-01T09:04:42Z","body":"Cool!\r\nJust that one comment, and LGTM"}}
{"actor":{"display_login":"kevinalle"}}