{"action":"created","comment":{"url":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/comments/30745110","id":30745110,"diff_hunk":"@@ -677,22 +680,23 @@ def get_query(self):\n         index = search.Index(name=\"OpenBudget\")\n         results = []\n         try:\n-            searchQueryStringList = [queryString]","path":"open-budget-il/main.py","position":23,"original_position":23,"commit_id":"feb40fbe989a4b3fd00fbf36cfa81a13aa62c04c","original_commit_id":"feb40fbe989a4b3fd00fbf36cfa81a13aa62c04c","user":{"login":"akariv","id":265333,"avatar_url":"https://avatars.githubusercontent.com/u/265333?v=3","gravatar_id":"","url":"https://api.github.com/users/akariv","html_url":"https://github.com/akariv","followers_url":"https://api.github.com/users/akariv/followers","following_url":"https://api.github.com/users/akariv/following{/other_user}","gists_url":"https://api.github.com/users/akariv/gists{/gist_id}","starred_url":"https://api.github.com/users/akariv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akariv/subscriptions","organizations_url":"https://api.github.com/users/akariv/orgs","repos_url":"https://api.github.com/users/akariv/repos","events_url":"https://api.github.com/users/akariv/events{/privacy}","received_events_url":"https://api.github.com/users/akariv/received_events","type":"User","site_admin":false},"body":"I'm probably missing something - why do we need the queryString to be duplicated from every handler? why not add it once here?","created_at":"2015-05-20T20:25:44Z","updated_at":"2015-05-20T20:25:44Z","html_url":"https://github.com/OpenBudget/open-budget-api/pull/7#discussion_r30745110","pull_request_url":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/comments/30745110"},"html":{"href":"https://github.com/OpenBudget/open-budget-api/pull/7#discussion_r30745110"},"pull_request":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7","id":35610399,"html_url":"https://github.com/OpenBudget/open-budget-api/pull/7","diff_url":"https://github.com/OpenBudget/open-budget-api/pull/7.diff","patch_url":"https://github.com/OpenBudget/open-budget-api/pull/7.patch","issue_url":"https://api.github.com/repos/OpenBudget/open-budget-api/issues/7","number":7,"state":"open","locked":false,"title":"Added automcomplete API that supports partial word matching","user":{"login":"yonatann","id":1035320,"avatar_url":"https://avatars.githubusercontent.com/u/1035320?v=3","gravatar_id":"","url":"https://api.github.com/users/yonatann","html_url":"https://github.com/yonatann","followers_url":"https://api.github.com/users/yonatann/followers","following_url":"https://api.github.com/users/yonatann/following{/other_user}","gists_url":"https://api.github.com/users/yonatann/gists{/gist_id}","starred_url":"https://api.github.com/users/yonatann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonatann/subscriptions","organizations_url":"https://api.github.com/users/yonatann/orgs","repos_url":"https://api.github.com/users/yonatann/repos","events_url":"https://api.github.com/users/yonatann/events{/privacy}","received_events_url":"https://api.github.com/users/yonatann/received_events","type":"User","site_admin":false},"body":"1. The tokenizing mechanism is naive and includes only tokens that start from the beginning of the original word e.g. hello = h, he, hel, hell, hello and not ello.\r\n\r\n2. the tokenizing mechanism needs to be tweaked further for instance including the words with/without \"'ה הידיעה\" \r\n\r\n3. index.yaml keeps changing because of the \"# AUTOGENERATED\" tag on line 89. I reverted the change for now however there are two ways to handle this to avoid manually modifying the file all the time:\r\n   - move the manual entries above the \"autogenerated\" tag\r\n   - remove the\"autogenerated\" tag completely","created_at":"2015-05-18T08:05:04Z","updated_at":"2015-05-20T20:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d2149a78e2e5aeb893382255f4120eb129f84f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7/commits","review_comments_url":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7/comments","review_comment_url":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenBudget/open-budget-api/issues/7/comments","statuses_url":"https://api.github.com/repos/OpenBudget/open-budget-api/statuses/feb40fbe989a4b3fd00fbf36cfa81a13aa62c04c","head":{"label":"yonatann:master","ref":"master","sha":"feb40fbe989a4b3fd00fbf36cfa81a13aa62c04c","user":{"login":"yonatann","id":1035320,"avatar_url":"https://avatars.githubusercontent.com/u/1035320?v=3","gravatar_id":"","url":"https://api.github.com/users/yonatann","html_url":"https://github.com/yonatann","followers_url":"https://api.github.com/users/yonatann/followers","following_url":"https://api.github.com/users/yonatann/following{/other_user}","gists_url":"https://api.github.com/users/yonatann/gists{/gist_id}","starred_url":"https://api.github.com/users/yonatann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonatann/subscriptions","organizations_url":"https://api.github.com/users/yonatann/orgs","repos_url":"https://api.github.com/users/yonatann/repos","events_url":"https://api.github.com/users/yonatann/events{/privacy}","received_events_url":"https://api.github.com/users/yonatann/received_events","type":"User","site_admin":false},"repo":{"id":31943243,"name":"open-budget-api","full_name":"yonatann/open-budget-api","owner":{"login":"yonatann","id":1035320,"avatar_url":"https://avatars.githubusercontent.com/u/1035320?v=3","gravatar_id":"","url":"https://api.github.com/users/yonatann","html_url":"https://github.com/yonatann","followers_url":"https://api.github.com/users/yonatann/followers","following_url":"https://api.github.com/users/yonatann/following{/other_user}","gists_url":"https://api.github.com/users/yonatann/gists{/gist_id}","starred_url":"https://api.github.com/users/yonatann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonatann/subscriptions","organizations_url":"https://api.github.com/users/yonatann/orgs","repos_url":"https://api.github.com/users/yonatann/repos","events_url":"https://api.github.com/users/yonatann/events{/privacy}","received_events_url":"https://api.github.com/users/yonatann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yonatann/open-budget-api","description":"API Server for accessing a plethora of Israeli Budget Data","fork":true,"url":"https://api.github.com/repos/yonatann/open-budget-api","forks_url":"https://api.github.com/repos/yonatann/open-budget-api/forks","keys_url":"https://api.github.com/repos/yonatann/open-budget-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yonatann/open-budget-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yonatann/open-budget-api/teams","hooks_url":"https://api.github.com/repos/yonatann/open-budget-api/hooks","issue_events_url":"https://api.github.com/repos/yonatann/open-budget-api/issues/events{/number}","events_url":"https://api.github.com/repos/yonatann/open-budget-api/events","assignees_url":"https://api.github.com/repos/yonatann/open-budget-api/assignees{/user}","branches_url":"https://api.github.com/repos/yonatann/open-budget-api/branches{/branch}","tags_url":"https://api.github.com/repos/yonatann/open-budget-api/tags","blobs_url":"https://api.github.com/repos/yonatann/open-budget-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yonatann/open-budget-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yonatann/open-budget-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/yonatann/open-budget-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yonatann/open-budget-api/statuses/{sha}","languages_url":"https://api.github.com/repos/yonatann/open-budget-api/languages","stargazers_url":"https://api.github.com/repos/yonatann/open-budget-api/stargazers","contributors_url":"https://api.github.com/repos/yonatann/open-budget-api/contributors","subscribers_url":"https://api.github.com/repos/yonatann/open-budget-api/subscribers","subscription_url":"https://api.github.com/repos/yonatann/open-budget-api/subscription","commits_url":"https://api.github.com/repos/yonatann/open-budget-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/yonatann/open-budget-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/yonatann/open-budget-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/yonatann/open-budget-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/yonatann/open-budget-api/contents/{+path}","compare_url":"https://api.github.com/repos/yonatann/open-budget-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yonatann/open-budget-api/merges","archive_url":"https://api.github.com/repos/yonatann/open-budget-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yonatann/open-budget-api/downloads","issues_url":"https://api.github.com/repos/yonatann/open-budget-api/issues{/number}","pulls_url":"https://api.github.com/repos/yonatann/open-budget-api/pulls{/number}","milestones_url":"https://api.github.com/repos/yonatann/open-budget-api/milestones{/number}","notifications_url":"https://api.github.com/repos/yonatann/open-budget-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yonatann/open-budget-api/labels{/name}","releases_url":"https://api.github.com/repos/yonatann/open-budget-api/releases{/id}","created_at":"2015-03-10T07:08:23Z","updated_at":"2015-05-05T19:05:36Z","pushed_at":"2015-05-20T12:59:59Z","git_url":"git://github.com/yonatann/open-budget-api.git","ssh_url":"git@github.com:yonatann/open-budget-api.git","clone_url":"https://github.com/yonatann/open-budget-api.git","svn_url":"https://github.com/yonatann/open-budget-api","homepage":"the.open-budget.org.il","size":17700,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenBudget:master","ref":"master","sha":"80a3bf000cdef38e0b5a5d2e8ff1840472a93d55","user":{"login":"OpenBudget","id":5921171,"avatar_url":"https://avatars.githubusercontent.com/u/5921171?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBudget","html_url":"https://github.com/OpenBudget","followers_url":"https://api.github.com/users/OpenBudget/followers","following_url":"https://api.github.com/users/OpenBudget/following{/other_user}","gists_url":"https://api.github.com/users/OpenBudget/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBudget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBudget/subscriptions","organizations_url":"https://api.github.com/users/OpenBudget/orgs","repos_url":"https://api.github.com/users/OpenBudget/repos","events_url":"https://api.github.com/users/OpenBudget/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBudget/received_events","type":"Organization","site_admin":false},"repo":{"id":14337697,"name":"open-budget-api","full_name":"OpenBudget/open-budget-api","owner":{"login":"OpenBudget","id":5921171,"avatar_url":"https://avatars.githubusercontent.com/u/5921171?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBudget","html_url":"https://github.com/OpenBudget","followers_url":"https://api.github.com/users/OpenBudget/followers","following_url":"https://api.github.com/users/OpenBudget/following{/other_user}","gists_url":"https://api.github.com/users/OpenBudget/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBudget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBudget/subscriptions","organizations_url":"https://api.github.com/users/OpenBudget/orgs","repos_url":"https://api.github.com/users/OpenBudget/repos","events_url":"https://api.github.com/users/OpenBudget/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBudget/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenBudget/open-budget-api","description":"API Server for accessing a plethora of Israeli Budget Data","fork":false,"url":"https://api.github.com/repos/OpenBudget/open-budget-api","forks_url":"https://api.github.com/repos/OpenBudget/open-budget-api/forks","keys_url":"https://api.github.com/repos/OpenBudget/open-budget-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenBudget/open-budget-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenBudget/open-budget-api/teams","hooks_url":"https://api.github.com/repos/OpenBudget/open-budget-api/hooks","issue_events_url":"https://api.github.com/repos/OpenBudget/open-budget-api/issues/events{/number}","events_url":"https://api.github.com/repos/OpenBudget/open-budget-api/events","assignees_url":"https://api.github.com/repos/OpenBudget/open-budget-api/assignees{/user}","branches_url":"https://api.github.com/repos/OpenBudget/open-budget-api/branches{/branch}","tags_url":"https://api.github.com/repos/OpenBudget/open-budget-api/tags","blobs_url":"https://api.github.com/repos/OpenBudget/open-budget-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenBudget/open-budget-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenBudget/open-budget-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenBudget/open-budget-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenBudget/open-budget-api/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenBudget/open-budget-api/languages","stargazers_url":"https://api.github.com/repos/OpenBudget/open-budget-api/stargazers","contributors_url":"https://api.github.com/repos/OpenBudget/open-budget-api/contributors","subscribers_url":"https://api.github.com/repos/OpenBudget/open-budget-api/subscribers","subscription_url":"https://api.github.com/repos/OpenBudget/open-budget-api/subscription","commits_url":"https://api.github.com/repos/OpenBudget/open-budget-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenBudget/open-budget-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenBudget/open-budget-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenBudget/open-budget-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenBudget/open-budget-api/contents/{+path}","compare_url":"https://api.github.com/repos/OpenBudget/open-budget-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenBudget/open-budget-api/merges","archive_url":"https://api.github.com/repos/OpenBudget/open-budget-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenBudget/open-budget-api/downloads","issues_url":"https://api.github.com/repos/OpenBudget/open-budget-api/issues{/number}","pulls_url":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenBudget/open-budget-api/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenBudget/open-budget-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenBudget/open-budget-api/labels{/name}","releases_url":"https://api.github.com/repos/OpenBudget/open-budget-api/releases{/id}","created_at":"2013-11-12T16:21:03Z","updated_at":"2015-05-05T05:53:02Z","pushed_at":"2015-05-20T13:00:01Z","git_url":"git://github.com/OpenBudget/open-budget-api.git","ssh_url":"git@github.com:OpenBudget/open-budget-api.git","clone_url":"https://github.com/OpenBudget/open-budget-api.git","svn_url":"https://github.com/OpenBudget/open-budget-api","homepage":"the.open-budget.org.il","size":17900,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7"},"html":{"href":"https://github.com/OpenBudget/open-budget-api/pull/7"},"issue":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/issues/7"},"comments":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/OpenBudget/open-budget-api/statuses/feb40fbe989a4b3fd00fbf36cfa81a13aa62c04c"}}}}