{"action":"created","issue":{"url":"https://api.github.com/repos/NRGI/resourcecontracts.org/issues/493","labels_url":"https://api.github.com/repos/NRGI/resourcecontracts.org/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/NRGI/resourcecontracts.org/issues/493/comments","events_url":"https://api.github.com/repos/NRGI/resourcecontracts.org/issues/493/events","html_url":"https://github.com/NRGI/resourcecontracts.org/issues/493","id":110306932,"number":493,"title":"Add annotation content to annotation category search results","user":{"login":"anderspeders","id":1101585,"avatar_url":"https://avatars.githubusercontent.com/u/1101585?v=3","gravatar_id":"","url":"https://api.github.com/users/anderspeders","html_url":"https://github.com/anderspeders","followers_url":"https://api.github.com/users/anderspeders/followers","following_url":"https://api.github.com/users/anderspeders/following{/other_user}","gists_url":"https://api.github.com/users/anderspeders/gists{/gist_id}","starred_url":"https://api.github.com/users/anderspeders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderspeders/subscriptions","organizations_url":"https://api.github.com/users/anderspeders/orgs","repos_url":"https://api.github.com/users/anderspeders/repos","events_url":"https://api.github.com/users/anderspeders/events{/privacy}","received_events_url":"https://api.github.com/users/anderspeders/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NRGI/resourcecontracts.org/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/NRGI/resourcecontracts.org/labels/annotations","name":"annotations","color":"f7c6c7"},{"url":"https://api.github.com/repos/NRGI/resourcecontracts.org/labels/feature%20request","name":"feature request","color":"159818"},{"url":"https://api.github.com/repos/NRGI/resourcecontracts.org/labels/UI%20-%20Advanced%20search%20view","name":"UI - Advanced search view","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"hello-deepak","id":7577697,"avatar_url":"https://avatars.githubusercontent.com/u/7577697?v=3","gravatar_id":"","url":"https://api.github.com/users/hello-deepak","html_url":"https://github.com/hello-deepak","followers_url":"https://api.github.com/users/hello-deepak/followers","following_url":"https://api.github.com/users/hello-deepak/following{/other_user}","gists_url":"https://api.github.com/users/hello-deepak/gists{/gist_id}","starred_url":"https://api.github.com/users/hello-deepak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hello-deepak/subscriptions","organizations_url":"https://api.github.com/users/hello-deepak/orgs","repos_url":"https://api.github.com/users/hello-deepak/repos","events_url":"https://api.github.com/users/hello-deepak/events{/privacy}","received_events_url":"https://api.github.com/users/hello-deepak/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NRGI/resourcecontracts.org/milestones/10","html_url":"https://github.com/NRGI/resourcecontracts.org/milestones/Sprint%20%2310:RC-launch%20last%20mile%20sprint","labels_url":"https://api.github.com/repos/NRGI/resourcecontracts.org/milestones/10/labels","id":1313234,"number":10,"title":"Sprint #10:RC-launch last mile sprint","description":"Running from October 8th - 22nd","creator":{"login":"anderspeders","id":1101585,"avatar_url":"https://avatars.githubusercontent.com/u/1101585?v=3","gravatar_id":"","url":"https://api.github.com/users/anderspeders","html_url":"https://github.com/anderspeders","followers_url":"https://api.github.com/users/anderspeders/followers","following_url":"https://api.github.com/users/anderspeders/following{/other_user}","gists_url":"https://api.github.com/users/anderspeders/gists{/gist_id}","starred_url":"https://api.github.com/users/anderspeders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderspeders/subscriptions","organizations_url":"https://api.github.com/users/anderspeders/orgs","repos_url":"https://api.github.com/users/anderspeders/repos","events_url":"https://api.github.com/users/anderspeders/events{/privacy}","received_events_url":"https://api.github.com/users/anderspeders/received_events","type":"User","site_admin":false},"open_issues":57,"closed_issues":9,"state":"open","created_at":"2015-09-18T12:19:54Z","updated_at":"2015-10-13T04:46:48Z","due_on":"2015-10-22T04:00:00Z","closed_at":null},"comments":6,"created_at":"2015-10-07T20:13:39Z","updated_at":"2015-10-13T06:22:53Z","closed_at":null,"body":"As a user when I search for annotation categories - eg. bonuses - I want the annotation text to appear in the search result in *a seperate column* (instead of underneath the contract name):\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1101585/10349599/4d612908-6d0d-11e5-81ba-43beec133370.png)\r\n\r\n1) Suggesting the following order on the site:\r\nContract name | Annotation category | Annotation content (in full) | Country | Year ...\r\n\r\n2) Enable download of the search result - including the column with annotation content \r\n\r\n<!---\r\n@huboard:{\"order\":394.5,\"milestone_order\":493,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/NRGI/resourcecontracts.org/issues/comments/147617045","html_url":"https://github.com/NRGI/resourcecontracts.org/issues/493#issuecomment-147617045","issue_url":"https://api.github.com/repos/NRGI/resourcecontracts.org/issues/493","id":147617045,"user":{"login":"anjesh","id":120488,"avatar_url":"https://avatars.githubusercontent.com/u/120488?v=3","gravatar_id":"","url":"https://api.github.com/users/anjesh","html_url":"https://github.com/anjesh","followers_url":"https://api.github.com/users/anjesh/followers","following_url":"https://api.github.com/users/anjesh/following{/other_user}","gists_url":"https://api.github.com/users/anjesh/gists{/gist_id}","starred_url":"https://api.github.com/users/anjesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anjesh/subscriptions","organizations_url":"https://api.github.com/users/anjesh/orgs","repos_url":"https://api.github.com/users/anjesh/repos","events_url":"https://api.github.com/users/anjesh/events{/privacy}","received_events_url":"https://api.github.com/users/anjesh/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T06:22:53Z","updated_at":"2015-10-13T06:22:53Z","body":"My understanding here is \r\n\r\nWhen you do free-text search, say searching for convention, then it just shows the text where it finds in the index. To make the search fast and less cumbersome, we have concatenated all the OCR text as one, and all annotations as one. So we just need to make one query to see if the query-text is present or not. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/120488/10447200/4ac345f2-71a2-11e5-86ca-0d5379417f4c.png)\r\n\r\nAfter getting the search results, now if you want to see what certain annotations categories contains, then you select them from the categories list and they are just displayed in the results itself. And that's where we can now show the section/reference info and page no. Right now only page-no is shown. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/120488/10446860/dddf91a0-719e-11e5-9add-a84ef426a668.png)\r\n\r\nAs I had quick chat with Anders, this can somehow serve as annotation comparison as the user will be able to download the results along with the selected annotations contents in csv. \r\n\r\ncc @anderspeders @byndcivilization @jedm "}}