Hey all I think that this is systemic and has probably been an issue forever. The way that the fullrecord is built by the indexer basically accumulates the data from every field (save some explicitly excluded) regardless of publish state. See https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L126
Because the PUI inherits from indexer_common, there are also places where related objects and the json for the record are not checked to ensure that subrecords with the publish flag set to false are excluded from PUI index fields. For example https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L1156 Looks like there is at least one very old outstanding ticket that addresses this: https://archivesspace.atlassian.net/browse/ANW-261 jds ________________________________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org <archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of Benn Joseph <benn.jos...@northwestern.edu> Sent: Friday, April 21, 2023 4:22 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org> Subject: Re: [Archivesspace_Users_Group] Rights Statement notes indexed in PUI even if unpublished Hi Dan, Confirming that we are also seeing unpublished accession records being indexed, resulting in hits on any linked published records (we’re on 3.3.1). --Benn From: archivesspace_users_group-boun...@lyralists.lyrasis.org <archivesspace_users_group-boun...@lyralists.lyrasis.org> On Behalf Of Dan Michelson Sent: Friday, April 21, 2023 3:15 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org> Subject: Re: [Archivesspace_Users_Group] Rights Statement notes indexed in PUI even if unpublished Hi Benn, We actually just noticed the same issue today, except with unpublished accession records being indexed, which results in hits on any linked published records (credit to my colleague Michelle Paquette for working out where the indexer was pulling from). I suspect this issue may be systemic, but haven't had the opportunity to test it out. Dan On Fri, Apr 21, 2023 at 2:34 PM Benn Joseph <benn.jos...@northwestern.edu<mailto:benn.jos...@northwestern.edu>> wrote: Happy Friday all, I’ve just noticed that when I add text to a Rights Statement in the ‘Additional Information’ sub-note, that text is indexed in the PUI even if the Rights Statement is unpublished (although the Rights Statement text doesn’t display in the PUI even if it is published). Is this normal? If not, I can create a ticket. Thanks, --Benn Benn Joseph (he/him/his) Head, Collections Services McCormick Library of Special Collections & University Archives Northwestern University Libraries Northwestern University www.library.northwestern.edu<http://www.library.northwestern.edu/> benn.jos...@northwestern.edu<mailto:benn.jos...@northwestern.edu%0d> 847.467.6581 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org<mailto:Archivesspace_Users_Group@lyralists.lyrasis.org> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://urldefense.com/v3/__http:/lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group__;!!Dq0X2DkFhyF93HkjWTBQKhk!RjThTRKjCVsDtoQ-W79GICh8o5OgDDpmyPq7lnZqnXGX1IjPe3YfawPtD2J5W9iuqhsucP0MQCpt6uks_aEgEkmV7hWEdpk$> -- Dan Michelson Collections Archivist Smith College Special Collections For current library access and services details, see Library Services During COVID-19<https://urldefense.com/v3/__https:/libraries.smith.edu/library-services-during-covid-19__;!!Dq0X2DkFhyF93HkjWTBQKhk!RjThTRKjCVsDtoQ-W79GICh8o5OgDDpmyPq7lnZqnXGX1IjPe3YfawPtD2J5W9iuqhsucP0MQCpt6uks_aEgEkmVXNbdTf0$>.
_______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group