{"action":"created","issue":{"url":"https://api.github.com/repos/moritzschaefer/the-search-engine/issues/43","repository_url":"https://api.github.com/repos/moritzschaefer/the-search-engine","labels_url":"https://api.github.com/repos/moritzschaefer/the-search-engine/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/moritzschaefer/the-search-engine/issues/43/comments","events_url":"https://api.github.com/repos/moritzschaefer/the-search-engine/issues/43/events","html_url":"https://github.com/moritzschaefer/the-search-engine/issues/43","id":153746220,"number":43,"title":"optimize ranker/base.py","user":{"login":"moritzschaefer","id":2714540,"avatar_url":"https://avatars.githubusercontent.com/u/2714540?v=3","gravatar_id":"","url":"https://api.github.com/users/moritzschaefer","html_url":"https://github.com/moritzschaefer","followers_url":"https://api.github.com/users/moritzschaefer/followers","following_url":"https://api.github.com/users/moritzschaefer/following{/other_user}","gists_url":"https://api.github.com/users/moritzschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/moritzschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moritzschaefer/subscriptions","organizations_url":"https://api.github.com/users/moritzschaefer/orgs","repos_url":"https://api.github.com/users/moritzschaefer/repos","events_url":"https://api.github.com/users/moritzschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/moritzschaefer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"brianignacio5","id":6033246,"avatar_url":"https://avatars.githubusercontent.com/u/6033246?v=3","gravatar_id":"","url":"https://api.github.com/users/brianignacio5","html_url":"https://github.com/brianignacio5","followers_url":"https://api.github.com/users/brianignacio5/followers","following_url":"https://api.github.com/users/brianignacio5/following{/other_user}","gists_url":"https://api.github.com/users/brianignacio5/gists{/gist_id}","starred_url":"https://api.github.com/users/brianignacio5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianignacio5/subscriptions","organizations_url":"https://api.github.com/users/brianignacio5/orgs","repos_url":"https://api.github.com/users/brianignacio5/repos","events_url":"https://api.github.com/users/brianignacio5/events{/privacy}","received_events_url":"https://api.github.com/users/brianignacio5/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-09T10:24:35Z","updated_at":"2016-05-24T17:05:34Z","closed_at":null,"body":"def calculate_query_term_weight(term, query_terms, index_dictionary_path=DICTIONARY_PATH,\r\n    index_info_path = INDEXINFO_PATH):\r\n    term_dictionary = get_dictionary_term_list(term, index_dictionary_path)\r\n\r\ncalculate_query_term_weight shouldn't call get_dictionary_term_list. The functions using calculate_query_term_weight also call that function. This can be expensive for terms with many documents. please fix by passing the dictionary term list as a parametr to the calculate_query_term_weight function. \r\n\r\nadapt the tests"},"comment":{"url":"https://api.github.com/repos/moritzschaefer/the-search-engine/issues/comments/221338383","html_url":"https://github.com/moritzschaefer/the-search-engine/issues/43#issuecomment-221338383","issue_url":"https://api.github.com/repos/moritzschaefer/the-search-engine/issues/43","id":221338383,"user":{"login":"brianignacio5","id":6033246,"avatar_url":"https://avatars.githubusercontent.com/u/6033246?v=3","gravatar_id":"","url":"https://api.github.com/users/brianignacio5","html_url":"https://github.com/brianignacio5","followers_url":"https://api.github.com/users/brianignacio5/followers","following_url":"https://api.github.com/users/brianignacio5/following{/other_user}","gists_url":"https://api.github.com/users/brianignacio5/gists{/gist_id}","starred_url":"https://api.github.com/users/brianignacio5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianignacio5/subscriptions","organizations_url":"https://api.github.com/users/brianignacio5/orgs","repos_url":"https://api.github.com/users/brianignacio5/repos","events_url":"https://api.github.com/users/brianignacio5/events{/privacy}","received_events_url":"https://api.github.com/users/brianignacio5/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T17:05:34Z","updated_at":"2016-05-24T17:05:34Z","body":"Can we close this ?"}}
{"actor":{"display_login":"brianignacio5"}}