{"action":"created","issue":{"url":"https://api.github.com/repos/pelias/api/issues/106","labels_url":"https://api.github.com/repos/pelias/api/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/pelias/api/issues/106/comments","events_url":"https://api.github.com/repos/pelias/api/issues/106/events","html_url":"https://github.com/pelias/api/pull/106","id":69000218,"number":106,"title":"category scoring [WIP]","user":{"login":"hkrishna","id":840737,"avatar_url":"https://avatars.githubusercontent.com/u/840737?v=3","gravatar_id":"","url":"https://api.github.com/users/hkrishna","html_url":"https://github.com/hkrishna","followers_url":"https://api.github.com/users/hkrishna/followers","following_url":"https://api.github.com/users/hkrishna/following{/other_user}","gists_url":"https://api.github.com/users/hkrishna/gists{/gist_id}","starred_url":"https://api.github.com/users/hkrishna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkrishna/subscriptions","organizations_url":"https://api.github.com/users/hkrishna/orgs","repos_url":"https://api.github.com/users/hkrishna/repos","events_url":"https://api.github.com/users/hkrishna/events{/privacy}","received_events_url":"https://api.github.com/users/hkrishna/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"sevko","id":4467604,"avatar_url":"https://avatars.githubusercontent.com/u/4467604?v=3","gravatar_id":"","url":"https://api.github.com/users/sevko","html_url":"https://github.com/sevko","followers_url":"https://api.github.com/users/sevko/followers","following_url":"https://api.github.com/users/sevko/following{/other_user}","gists_url":"https://api.github.com/users/sevko/gists{/gist_id}","starred_url":"https://api.github.com/users/sevko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevko/subscriptions","organizations_url":"https://api.github.com/users/sevko/orgs","repos_url":"https://api.github.com/users/sevko/repos","events_url":"https://api.github.com/users/sevko/events{/privacy}","received_events_url":"https://api.github.com/users/sevko/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-16T20:10:48Z","updated_at":"2015-05-06T09:47:40Z","closed_at":"2015-04-30T13:47:13Z","pull_request":{"url":"https://api.github.com/repos/pelias/api/pulls/106","html_url":"https://github.com/pelias/api/pull/106","diff_url":"https://github.com/pelias/api/pull/106.diff","patch_url":"https://github.com/pelias/api/pull/106.patch"},"body":"Weights are all hardcoded to 10 currently - requires to be tweaked\r\n\r\n```js\r\n'transport': 10,\r\n'transport:air': 10,\r\n'transport:air:aerodrome': 10,\r\n'transport:air:airport': 10,\r\n'recreation': 10,\r\n'religion': 10,\r\n'education': 10,\r\n'entertainment': 10,\r\n'nightlife': 10,\r\n'food': 10,\r\n'government': 10,\r\n'professional': 10,\r\n'finance': 10,\r\n'health': 10,\r\n'retail': 10,\r\n'transport:public': 10,\r\n'transport:bus': 10,\r\n'transport:taxi': 10,\r\n'transport:sea': 10,\r\n'accomodation': 10,\r\n'transport:station': 10,\r\n'food:bagel': 10,\r\n'food:barbecue': 10\r\n...\r\n```\r\n\r\nuses https://github.com/pelias/scripts/pull/6\r\nfixes pelias/api#105"},"comment":{"url":"https://api.github.com/repos/pelias/api/issues/comments/99401791","html_url":"https://github.com/pelias/api/pull/106#issuecomment-99401791","issue_url":"https://api.github.com/repos/pelias/api/issues/106","id":99401791,"user":{"login":"missinglink","id":738069,"avatar_url":"https://avatars.githubusercontent.com/u/738069?v=3","gravatar_id":"","url":"https://api.github.com/users/missinglink","html_url":"https://github.com/missinglink","followers_url":"https://api.github.com/users/missinglink/followers","following_url":"https://api.github.com/users/missinglink/following{/other_user}","gists_url":"https://api.github.com/users/missinglink/gists{/gist_id}","starred_url":"https://api.github.com/users/missinglink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missinglink/subscriptions","organizations_url":"https://api.github.com/users/missinglink/orgs","repos_url":"https://api.github.com/users/missinglink/repos","events_url":"https://api.github.com/users/missinglink/events{/privacy}","received_events_url":"https://api.github.com/users/missinglink/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T09:47:40Z","updated_at":"2015-05-06T09:47:40Z","body":"[question] @sevko @hkrishna will this add a 3kb payload to each db query containing `./helper/category_weights.js`? That sounds not ideal..."}}