{"action":"created","issue":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/2038","labels_url":"https://api.github.com/repos/IQSS/dataverse/issues/2038/labels{/name}","comments_url":"https://api.github.com/repos/IQSS/dataverse/issues/2038/comments","events_url":"https://api.github.com/repos/IQSS/dataverse/issues/2038/events","html_url":"https://github.com/IQSS/dataverse/issues/2038","id":69187247,"number":2038,"title":"Solr: make some internal fields indexed=true (searchable) for troubleshooting","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/Component:%20Search/Browse","name":"Component: Search/Browse","color":"c7def8"},{"url":"https://api.github.com/repos/IQSS/dataverse/labels/Status:%20QA","name":"Status: QA","color":"336633"}],"state":"closed","locked":false,"assignee":{"login":"kcondon","id":4983816,"avatar_url":"https://avatars.githubusercontent.com/u/4983816?v=3","gravatar_id":"","url":"https://api.github.com/users/kcondon","html_url":"https://github.com/kcondon","followers_url":"https://api.github.com/users/kcondon/followers","following_url":"https://api.github.com/users/kcondon/following{/other_user}","gists_url":"https://api.github.com/users/kcondon/gists{/gist_id}","starred_url":"https://api.github.com/users/kcondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcondon/subscriptions","organizations_url":"https://api.github.com/users/kcondon/orgs","repos_url":"https://api.github.com/users/kcondon/repos","events_url":"https://api.github.com/users/kcondon/events{/privacy}","received_events_url":"https://api.github.com/users/kcondon/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":"- Permissions performance #2036\r\n- Integrate Terms of Use in Metadata Template\r\n- File landing page (experimental) #2515\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":4,"closed_issues":105,"state":"closed","created_at":"2015-06-01T19:53:20Z","updated_at":"2015-10-02T20:17:26Z","due_on":"2015-09-23T04:00:00Z","closed_at":"2015-10-02T18:38:05Z"},"comments":12,"created_at":"2015-04-17T18:04:01Z","updated_at":"2015-10-02T20:17:26Z","closed_at":"2015-10-02T20:17:26Z","body":"Currently many \"internal\" fields are set to indexed=false in our Solr schema.xml because we weren't sure if we really want them to be searchable.\r\n\r\n@scolapasta and I have been talking about how it might be useful to make more of them searchable for troubleshooting purposes.\r\n\r\nUnfortunately, it's **not** enough to simply change the schema.xml file to indexed=true. You also have to reindex everything. So, we let's use this ticket to define which internal fields we want to be searchable. Here is a list of candidates:\r\n\r\n- entityId\r\n- parentId\r\n- parentIdentifier\r\n- parentName\r\n- parentCitation\r\n- citation\r\n- identifier\r\n- persistentUrl\r\n- unf\r\n- fileSizeInBytes\r\n- fileMd5\r\n- fileContentType\r\n- deaccessionReason\r\n- datasetVersionId\r\n\r\nFor info on what each of these do: https://github.com/IQSS/dataverse/blob/master/src/main/java/edu/harvard/iq/dataverse/search/SearchFields.java\r\n\r\nNote that we do **not** plan to copy any of these to the \"catchall\" field (\"text\") used by Basic Search. Nor do we intend to show these on the Advanced Search page. The idea is that if you know to type \"entityId:123\" you'll find both in the GUI and the Search API (all users, not just superusers).\r\n\r\nAlso note that when I say searchable I don't mean in a \"friendly\" way. These are \"string\" and \"long\" Solr field types so you have to provide an exact string match when searching.\r\n\r\nI'm giving this to @scolapasta to indicate which fields should be searchable."},"comment":{"url":"https://api.github.com/repos/IQSS/dataverse/issues/comments/145144212","html_url":"https://github.com/IQSS/dataverse/issues/2038#issuecomment-145144212","issue_url":"https://api.github.com/repos/IQSS/dataverse/issues/2038","id":145144212,"user":{"login":"kcondon","id":4983816,"avatar_url":"https://avatars.githubusercontent.com/u/4983816?v=3","gravatar_id":"","url":"https://api.github.com/users/kcondon","html_url":"https://github.com/kcondon","followers_url":"https://api.github.com/users/kcondon/followers","following_url":"https://api.github.com/users/kcondon/following{/other_user}","gists_url":"https://api.github.com/users/kcondon/gists{/gist_id}","starred_url":"https://api.github.com/users/kcondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcondon/subscriptions","organizations_url":"https://api.github.com/users/kcondon/orgs","repos_url":"https://api.github.com/users/kcondon/repos","events_url":"https://api.github.com/users/kcondon/events{/privacy}","received_events_url":"https://api.github.com/users/kcondon/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T20:17:26Z","updated_at":"2015-10-02T20:17:26Z","body":"Thanks for following up Phil. \r\nI could not reproduce issue 1, not sure what happened there, it was not critical anyway.\r\nIt seems like we have ways to use the other two so I'm good. Closing ticket."}}