{"action":"closed","issue":{"url":"https://api.github.com/repos/samvera/hyrax/issues/2372","repository_url":"https://api.github.com/repos/samvera/hyrax","labels_url":"https://api.github.com/repos/samvera/hyrax/issues/2372/labels{/name}","comments_url":"https://api.github.com/repos/samvera/hyrax/issues/2372/comments","events_url":"https://api.github.com/repos/samvera/hyrax/issues/2372/events","html_url":"https://github.com/samvera/hyrax/issues/2372","id":282165379,"number":2372,"title":"ActiveFedora::Base.reindex_everything loses all nested indexing fields in solr","user":{"login":"laritakr","id":17851674,"avatar_url":"https://avatars3.githubusercontent.com/u/17851674?v=4","gravatar_id":"","url":"https://api.github.com/users/laritakr","html_url":"https://github.com/laritakr","followers_url":"https://api.github.com/users/laritakr/followers","following_url":"https://api.github.com/users/laritakr/following{/other_user}","gists_url":"https://api.github.com/users/laritakr/gists{/gist_id}","starred_url":"https://api.github.com/users/laritakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laritakr/subscriptions","organizations_url":"https://api.github.com/users/laritakr/orgs","repos_url":"https://api.github.com/users/laritakr/repos","events_url":"https://api.github.com/users/laritakr/events{/privacy}","received_events_url":"https://api.github.com/users/laritakr/received_events","type":"User","site_admin":false},"labels":[{"id":678002078,"url":"https://api.github.com/repos/samvera/hyrax/labels/Effort:%20Significant","name":"Effort: Significant","color":"b96c21","default":false},{"id":491302911,"url":"https://api.github.com/repos/samvera/hyrax/labels/bug","name":"bug","color":"eb6420","default":true},{"id":505053955,"url":"https://api.github.com/repos/samvera/hyrax/labels/collections/admin%20sets","name":"collections/admin sets","color":"0b02e1","default":false}],"state":"closed","locked":false,"assignee":{"login":"laritakr","id":17851674,"avatar_url":"https://avatars3.githubusercontent.com/u/17851674?v=4","gravatar_id":"","url":"https://api.github.com/users/laritakr","html_url":"https://github.com/laritakr","followers_url":"https://api.github.com/users/laritakr/followers","following_url":"https://api.github.com/users/laritakr/following{/other_user}","gists_url":"https://api.github.com/users/laritakr/gists{/gist_id}","starred_url":"https://api.github.com/users/laritakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laritakr/subscriptions","organizations_url":"https://api.github.com/users/laritakr/orgs","repos_url":"https://api.github.com/users/laritakr/repos","events_url":"https://api.github.com/users/laritakr/events{/privacy}","received_events_url":"https://api.github.com/users/laritakr/received_events","type":"User","site_admin":false},"assignees":[{"login":"laritakr","id":17851674,"avatar_url":"https://avatars3.githubusercontent.com/u/17851674?v=4","gravatar_id":"","url":"https://api.github.com/users/laritakr","html_url":"https://github.com/laritakr","followers_url":"https://api.github.com/users/laritakr/followers","following_url":"https://api.github.com/users/laritakr/following{/other_user}","gists_url":"https://api.github.com/users/laritakr/gists{/gist_id}","starred_url":"https://api.github.com/users/laritakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laritakr/subscriptions","organizations_url":"https://api.github.com/users/laritakr/orgs","repos_url":"https://api.github.com/users/laritakr/repos","events_url":"https://api.github.com/users/laritakr/events{/privacy}","received_events_url":"https://api.github.com/users/laritakr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-12-14T16:43:54Z","updated_at":"2018-02-15T18:12:29Z","closed_at":"2018-02-15T18:12:29Z","author_association":"NONE","body":"### Descriptive summary\r\n\r\nIn Collections Sprint branch, nested indexer adds **\"nesting_collection__ancestors_ssim\"**,\r\n**\"nesting_collection__parent_ids_ssim\"**, and **\"nesting_collection__pathnames_ssim\"**. Running \r\n`ActiveFedora::Base.reindex_everything` from the rails console removed all three of those fields from solr. \r\n\r\n### Rationale\r\n\r\nThe nested collection indexer is triggered as an after update_index action in Hyrax. Running the Active Fedora reindexer is indexing separately from the nested collections indexer and doesn't trigger the necessary action.\r\n\r\n### Expected behavior\r\n\r\nRunning a full reindex needs to reindex all nested collections as well.\r\n\r\n### Actual behavior\r\n\r\nThe nested collection indexing is not being included.\r\n\r\n### Steps to reproduce the behavior\r\n\r\n1. Create nested collections.\r\n1. Solr indexes should include the three nesting collection fields.\r\n1. Open rails console\r\n1. ActiveFedora::Base.reindex_everything\r\n1. Solr indexes are missing all three nesting collection fields.\r\n\r\n"}}
{"actor":{"display_login":"laritakr"}}