{"action":"created","issue":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/729","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/729/labels{/name}","comments_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/729/comments","events_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/729/events","html_url":"https://github.com/ualbertalib/HydraNorth/issues/729","id":111334455,"number":729,"title":"Collection page doesn't show all the children objects","user":{"login":"weiweishi","id":2047614,"avatar_url":"https://avatars.githubusercontent.com/u/2047614?v=3","gravatar_id":"","url":"https://api.github.com/users/weiweishi","html_url":"https://github.com/weiweishi","followers_url":"https://api.github.com/users/weiweishi/followers","following_url":"https://api.github.com/users/weiweishi/following{/other_user}","gists_url":"https://api.github.com/users/weiweishi/gists{/gist_id}","starred_url":"https://api.github.com/users/weiweishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiweishi/subscriptions","organizations_url":"https://api.github.com/users/weiweishi/orgs","repos_url":"https://api.github.com/users/weiweishi/repos","events_url":"https://api.github.com/users/weiweishi/events{/privacy}","received_events_url":"https://api.github.com/users/weiweishi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/priority:high","name":"priority:high","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"mbarnett","id":51773,"avatar_url":"https://avatars.githubusercontent.com/u/51773?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarnett","html_url":"https://github.com/mbarnett","followers_url":"https://api.github.com/users/mbarnett/followers","following_url":"https://api.github.com/users/mbarnett/following{/other_user}","gists_url":"https://api.github.com/users/mbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnett/subscriptions","organizations_url":"https://api.github.com/users/mbarnett/orgs","repos_url":"https://api.github.com/users/mbarnett/repos","events_url":"https://api.github.com/users/mbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnett/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/32","html_url":"https://github.com/ualbertalib/HydraNorth/milestones/Sprint%2028","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/32/labels","id":1353387,"number":32,"title":"Sprint 28","description":"High:\r\n\r\n#709\r\n#710\r\n#715\r\n\r\nMedium:\r\n\r\n#608\r\n#712\r\n","creator":{"login":"pbinkley","id":272816,"avatar_url":"https://avatars.githubusercontent.com/u/272816?v=3","gravatar_id":"","url":"https://api.github.com/users/pbinkley","html_url":"https://github.com/pbinkley","followers_url":"https://api.github.com/users/pbinkley/followers","following_url":"https://api.github.com/users/pbinkley/following{/other_user}","gists_url":"https://api.github.com/users/pbinkley/gists{/gist_id}","starred_url":"https://api.github.com/users/pbinkley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbinkley/subscriptions","organizations_url":"https://api.github.com/users/pbinkley/orgs","repos_url":"https://api.github.com/users/pbinkley/repos","events_url":"https://api.github.com/users/pbinkley/events{/privacy}","received_events_url":"https://api.github.com/users/pbinkley/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":12,"state":"open","created_at":"2015-10-13T15:11:27Z","updated_at":"2015-10-15T15:57:14Z","due_on":"2015-10-23T06:00:00Z","closed_at":null},"comments":9,"created_at":"2015-10-14T06:39:15Z","updated_at":"2015-10-15T17:41:56Z","closed_at":null,"body":"As noted by @johnhuck in #724 Collection page doesn't seem to show all of the children objects. Initially thought it's related to access_control in solr params. But later discovered that even without the access control, the following query only retrieves 6 items, instead of 16.\r\nActiveFedora::SolrService.instance.conn.get \"select\", :params => { fl:['id'], fq: \"{!join from=hasCollectionMember_ssim to=id}id:44558r821\"}\r\n\r\nThe collection 44558r821 has the following hasCollectionMember_ssim:\r\n \"hasCollectionMember_ssim\"=>[\"44558s04v\", \"44558s100\", \"44558s17x\", \"44558s19g\", \"44558s25m\", \"44558s50z\", \"44558t042\", \"44558t149\", \"44558t18d\", \"44558t31z\", \"44558t37m\", \"44558t55j\", \"44558t73g\", \"44558v226\", \"44558v49m\", \"44558v757\"],\r\n\r\nAnd all the objects listed above exist in ActiveFedora. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/comments/148469217","html_url":"https://github.com/ualbertalib/HydraNorth/issues/729#issuecomment-148469217","issue_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/729","id":148469217,"user":{"login":"pbinkley","id":272816,"avatar_url":"https://avatars.githubusercontent.com/u/272816?v=3","gravatar_id":"","url":"https://api.github.com/users/pbinkley","html_url":"https://github.com/pbinkley","followers_url":"https://api.github.com/users/pbinkley/followers","following_url":"https://api.github.com/users/pbinkley/following{/other_user}","gists_url":"https://api.github.com/users/pbinkley/gists{/gist_id}","starred_url":"https://api.github.com/users/pbinkley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbinkley/subscriptions","organizations_url":"https://api.github.com/users/pbinkley/orgs","repos_url":"https://api.github.com/users/pbinkley/repos","events_url":"https://api.github.com/users/pbinkley/events{/privacy}","received_events_url":"https://api.github.com/users/pbinkley/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T17:41:56Z","updated_at":"2015-10-15T17:41:56Z","body":"We really should be using _ssim rather than _tesim fields in https://github.com/ualbertalib/HydraNorth/blob/818c1bbee614816e8f65aaff45cdc32e79c7cc0e/app/controllers/concerns/hydranorth/collections_controller_behavior.rb#L21 . Fields with t are tokenized and stemmed, so there's risk of imprecise matches - e.g. the current index includes a hasCollectionId_tesim value ```44558t34``` (one character too short) - that collection doesn't exist, but ```44558t34s``` does. The query still works (since querying against a stemmed field also stems the query), but some day we may generate noids that get stemmed in such a way that two collections have the same value. "}}