{"action":"created","issue":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/2455","labels_url":"https://api.github.com/repos/IQSS/dataverse/issues/2455/labels{/name}","comments_url":"https://api.github.com/repos/IQSS/dataverse/issues/2455/comments","events_url":"https://api.github.com/repos/IQSS/dataverse/issues/2455/events","html_url":"https://github.com/IQSS/dataverse/issues/2455","id":100813846,"number":2455,"title":"Use Solr for file listing on dataset page","user":{"login":"pdurbin","id":21006,"avatar_url":"https://avatars.githubusercontent.com/u/21006?v=3","gravatar_id":"","url":"https://api.github.com/users/pdurbin","html_url":"https://github.com/pdurbin","followers_url":"https://api.github.com/users/pdurbin/followers","following_url":"https://api.github.com/users/pdurbin/following{/other_user}","gists_url":"https://api.github.com/users/pdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdurbin/subscriptions","organizations_url":"https://api.github.com/users/pdurbin/orgs","repos_url":"https://api.github.com/users/pdurbin/repos","events_url":"https://api.github.com/users/pdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/pdurbin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Type:%20Suggestion","name":"Type: Suggestion","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"pdurbin","id":21006,"avatar_url":"https://avatars.githubusercontent.com/u/21006?v=3","gravatar_id":"","url":"https://api.github.com/users/pdurbin","html_url":"https://github.com/pdurbin","followers_url":"https://api.github.com/users/pdurbin/followers","following_url":"https://api.github.com/users/pdurbin/following{/other_user}","gists_url":"https://api.github.com/users/pdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/pdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdurbin/subscriptions","organizations_url":"https://api.github.com/users/pdurbin/orgs","repos_url":"https://api.github.com/users/pdurbin/repos","events_url":"https://api.github.com/users/pdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/pdurbin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/IQSS/dataverse/milestones/39","html_url":"https://github.com/IQSS/dataverse/milestones/4.2","labels_url":"https://api.github.com/repos/IQSS/dataverse/milestones/39/labels","id":1143630,"number":39,"title":"4.2","description":"- Performance of dataset pages with many files\r\n- Permissions performance #2036\r\n- Restructure Files listing page\r\n- FITS files explored in WWT: http://worldwidetelescope.org\r\n- Integrate Terms of Use in Metadata Template\r\n- Solr for view mode, including past versions*\r\n- File landing page\r\n- Separation of upload and edit\r\n- Bulk edit of file metadata (select subset of files, rather than edit all files at once)\r\n- Batch tagging (from view mode, to be user tested)\r\n- Batch delete  (from view mode, to be user tested)\r\n- Batch restrict  (from view mode, to be user tested)","creator":{"login":"eaquigley","id":5922904,"avatar_url":"https://avatars.githubusercontent.com/u/5922904?v=3","gravatar_id":"","url":"https://api.github.com/users/eaquigley","html_url":"https://github.com/eaquigley","followers_url":"https://api.github.com/users/eaquigley/followers","following_url":"https://api.github.com/users/eaquigley/following{/other_user}","gists_url":"https://api.github.com/users/eaquigley/gists{/gist_id}","starred_url":"https://api.github.com/users/eaquigley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaquigley/subscriptions","organizations_url":"https://api.github.com/users/eaquigley/orgs","repos_url":"https://api.github.com/users/eaquigley/repos","events_url":"https://api.github.com/users/eaquigley/events{/privacy}","received_events_url":"https://api.github.com/users/eaquigley/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":0,"state":"open","created_at":"2015-06-01T19:53:20Z","updated_at":"2015-08-13T16:32:20Z","due_on":"2015-09-09T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-08-13T16:32:20Z","updated_at":"2015-08-13T16:58:10Z","closed_at":null,"body":"In the FRD about [improving the organization and display of files](https://docs.google.com/document/d/1v-6WuFyClnAAHqyMf1VsWtCdXDTTR-ikuG6Ou8RtDMM/edit?usp=sharing) as [mentioned on the Google Group](https://groups.google.com/forum/#!topic/dataverse-community/gtz2npccWjU) we've been talking about the possibility of **building the list of files on the dataset page using Solr rather than the database**. Solr provides a better search experience than the database and we could make use of facets at the file level. I'll include a **preliminary** mockup below of how facets might look.\r\n\r\nThe primary challenge is how to handle files from old published versions of datasets because they are currently not indexed. A switch from the database to Solr should be carefully considered for a few reasons. We have already identified performance problems with indexing production data (#50) and indexing permissions (#2036). In addition, managing the lifecycle of Solr documents and their discoverability rules (#57) is already complex. We don't want to change the rules of when cards are shown on the homepage/dataverse page or in MyData.\r\n\r\n![mockup](https://cloud.githubusercontent.com/assets/21006/9255273/2ea0537c-41b6-11e5-9142-38bde6d0ce07.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/comments/130760359","html_url":"https://github.com/IQSS/dataverse/issues/2455#issuecomment-130760359","issue_url":"https://api.github.com/repos/IQSS/dataverse/issues/2455","id":130760359,"user":{"login":"landreev","id":737558,"avatar_url":"https://avatars.githubusercontent.com/u/737558?v=3","gravatar_id":"","url":"https://api.github.com/users/landreev","html_url":"https://github.com/landreev","followers_url":"https://api.github.com/users/landreev/followers","following_url":"https://api.github.com/users/landreev/following{/other_user}","gists_url":"https://api.github.com/users/landreev/gists{/gist_id}","starred_url":"https://api.github.com/users/landreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landreev/subscriptions","organizations_url":"https://api.github.com/users/landreev/orgs","repos_url":"https://api.github.com/users/landreev/repos","events_url":"https://api.github.com/users/landreev/events{/privacy}","received_events_url":"https://api.github.com/users/landreev/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T16:58:10Z","updated_at":"2015-08-13T16:58:10Z","body":"(github messed up the formatting, but should still be readable)"}}