{"action":"created","issue":{"url":"https://api.github.com/repos/pfraze/disco/issues/1","labels_url":"https://api.github.com/repos/pfraze/disco/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pfraze/disco/issues/1/comments","events_url":"https://api.github.com/repos/pfraze/disco/issues/1/events","html_url":"https://github.com/pfraze/disco/issues/1","id":107552317,"number":1,"title":"Design challenges discussion","user":{"login":"pfraze","id":1270099,"avatar_url":"https://avatars.githubusercontent.com/u/1270099?v=3","gravatar_id":"","url":"https://api.github.com/users/pfraze","html_url":"https://github.com/pfraze","followers_url":"https://api.github.com/users/pfraze/followers","following_url":"https://api.github.com/users/pfraze/following{/other_user}","gists_url":"https://api.github.com/users/pfraze/gists{/gist_id}","starred_url":"https://api.github.com/users/pfraze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfraze/subscriptions","organizations_url":"https://api.github.com/users/pfraze/orgs","repos_url":"https://api.github.com/users/pfraze/repos","events_url":"https://api.github.com/users/pfraze/events{/privacy}","received_events_url":"https://api.github.com/users/pfraze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-21T16:45:11Z","updated_at":"2015-09-21T21:33:45Z","closed_at":null,"body":"A general search program for SSB needs to solve\r\n\r\n - Query effectiveness (the most basic: a query for \"ssb\" will return documents that have the word \"ssb\")\r\n - Index completeness (all searchable data-- log entries, plaintext blobs-- need to be indexed)\r\n - Result quality (results are ranked by signals)\r\n - Result correctness (results aren't wrong)\r\n - Query efficiency"},"comment":{"url":"https://api.github.com/repos/pfraze/disco/issues/comments/142115216","html_url":"https://github.com/pfraze/disco/issues/1#issuecomment-142115216","issue_url":"https://api.github.com/repos/pfraze/disco/issues/1","id":142115216,"user":{"login":"pfraze","id":1270099,"avatar_url":"https://avatars.githubusercontent.com/u/1270099?v=3","gravatar_id":"","url":"https://api.github.com/users/pfraze","html_url":"https://github.com/pfraze","followers_url":"https://api.github.com/users/pfraze/followers","following_url":"https://api.github.com/users/pfraze/following{/other_user}","gists_url":"https://api.github.com/users/pfraze/gists{/gist_id}","starred_url":"https://api.github.com/users/pfraze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfraze/subscriptions","organizations_url":"https://api.github.com/users/pfraze/orgs","repos_url":"https://api.github.com/users/pfraze/repos","events_url":"https://api.github.com/users/pfraze/events{/privacy}","received_events_url":"https://api.github.com/users/pfraze/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T21:33:44Z","updated_at":"2015-09-21T21:33:44Z","body":"Another opportunity, might be to use `attributes` in the normalized document, instead of `type`. This allows a list of attributes, almost like keywords, which are condensed from the document. For instance, using the same example:\r\n\r\n```js\r\n{ title: 10, attributes: 5, text: 1, ref: 0 }\r\n```\r\n```js\r\n{ title: null, attributes: ['post', 'mentions alice', 'mentions bob'], text: 'hello @alice and @bob, how are you doing?', ref: MSG_KEY }\r\n{ title: 'alice', attributes: 'mention', text: 'hello @alice and @bob, how are you doing?', ref: REF1 }\r\n{ title: 'bob', attributes: 'mention', text: 'hello @alice and @bob, how are you doing?', ref: REF2 }\r\n```\r\n\r\nThis way, a query of `post mentions alice` would rank `MSG_KEY` higher than `REF1`"}}