<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hey all</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I <b>think</b>​ 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
<a href="https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L126" id="LPNoLPOWALinkPreview">
https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L126</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
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
<a href="https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L1156" id="LPNoLPOWALinkPreview_1">
https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L1156</a><br>
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview_1 _EReadonly_1 elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2">
Looks like there is at least one very old outstanding ticket that addresses this:
<a href="https://archivesspace.atlassian.net/browse/ANW-261" id="LPlnk159624">https://archivesspace.atlassian.net/browse/ANW-261</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2">
jds<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Benn Joseph
 <benn.joseph@northwestern.edu><br>
<b>Sent:</b> Friday, April 21, 2023 4:22 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Rights Statement notes indexed in PUI even if unpublished</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
span.x_gmailsignatureprefix
        {}
span.x_EmailStyle19
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi Dan,</p>
<p class="x_MsoNormal">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).</p>
<p class="x_MsoNormal">--Benn</p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Dan Michelson<br>
<b>Sent:</b> Friday, April 21, 2023 3:15 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Rights Statement notes indexed in PUI even if unpublished</p>
</div>
<p class="x_MsoNormal"> </p>
<div>
<div>
<p class="x_MsoNormal">Hi Benn,</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">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).</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">I suspect this issue may be systemic, but haven't had the opportunity to test it out.</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">Dan</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<div>
<p class="x_MsoNormal">On Fri, Apr 21, 2023 at 2:34 PM Benn Joseph <<a href="mailto:benn.joseph@northwestern.edu">benn.joseph@northwestern.edu</a>> wrote:</p>
</div>
<blockquote style="border:none; border-left:solid #CCCCCC 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-right:0in">
<div>
<div>
<div>
<p class="x_MsoNormal" style="">Happy Friday all,</p>
<p class="x_MsoNormal" style="">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.</p>
<p class="x_MsoNormal" style=""> </p>
<p class="x_MsoNormal" style="">Thanks,</p>
<p class="x_MsoNormal" style="">--Benn</p>
<p class="x_MsoNormal" style=""> </p>
<p class="x_MsoNormal" style=""><b><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#0D0D0D">Benn Joseph
</span></b><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#0D0D0D">(he/him/his)</span></p>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#0D0D0D">Head, Collections Services</span></p>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#0D0D0D">McCormick Library of Special Collections & University Archives</span></p>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#0D0D0D">Northwestern University Libraries</span></p>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#4E2A84">Northwestern University</span></p>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Arial",sans-serif"><a href="http://www.library.northwestern.edu/" originalsrc="http://www.library.northwestern.edu/" shash="PAp7H/B273Gz/kcTrpeRy0ZaXCziNGOgfh6Q4YZuFftCQlUMc/ocJhpIb8RnjFH5KmlhB2DmNCBlkqyhylfKvtXNiea5Lwk6ktqSGZ1jN+QR2ok2PkrpMApTuTYTYE6YB7NbbBE97ce8Ud3IIkokPxmCaxL+5ERpLiZO0KPH2yc=" target="_blank"><span style="color:windowtext">www.library.northwestern.edu</span></a></span></p>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Arial",sans-serif"><a href="mailto:benn.joseph@northwestern.edu%0d" target="_blank"><span style="color:windowtext">benn.joseph@northwestern.edu</span></a></span></p>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#0D0D0D">847.467.6581</span></p>
<p class="x_MsoNormal" style=""> </p>
</div>
</div>
<p class="x_MsoNormal">_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.com/v3/__http:/lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group__;!!Dq0X2DkFhyF93HkjWTBQKhk!RjThTRKjCVsDtoQ-W79GICh8o5OgDDpmyPq7lnZqnXGX1IjPe3YfawPtD2J5W9iuqhsucP0MQCpt6uks_aEgEkmV7hWEdpk$" originalsrc="https://urldefense.com/v3/__http:/lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group__;!!Dq0X2DkFhyF93HkjWTBQKhk!RjThTRKjCVsDtoQ-W79GICh8o5OgDDpmyPq7lnZqnXGX1IjPe3YfawPtD2J5W9iuqhsucP0MQCpt6uks_aEgEkmV7hWEdpk$" shash="MsyyBqYvNe4qz8aQTCD9XOE1QXxQIMhy36h3q7ssjyHCm3y5k6N6qyG985NKjz511bOT9+APVQTtei99UMT84be+HCmQtdTD2IED1MWbB+E+OGXC3Y4C0lizjJbxcpOrBhdoYFeBfGNLLGcuuoo2o9d9UWI/hONhg4YHacpMgfI=" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></p>
</div>
</blockquote>
</div>
<p class="x_MsoNormal"><br clear="all">
<br>
<span class="x_gmailsignatureprefix">-- </span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="x_MsoNormal">Dan Michelson</p>
</div>
<div>
<p class="x_MsoNormal">Collections Archivist</p>
</div>
<div>
<p class="x_MsoNormal">Smith College Special Collections</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:"Arial",sans-serif; color:black">For current library access and services details, see
</span><a href="https://urldefense.com/v3/__https:/libraries.smith.edu/library-services-during-covid-19__;!!Dq0X2DkFhyF93HkjWTBQKhk!RjThTRKjCVsDtoQ-W79GICh8o5OgDDpmyPq7lnZqnXGX1IjPe3YfawPtD2J5W9iuqhsucP0MQCpt6uks_aEgEkmVXNbdTf0$" originalsrc="https://urldefense.com/v3/__https:/libraries.smith.edu/library-services-during-covid-19__;!!Dq0X2DkFhyF93HkjWTBQKhk!RjThTRKjCVsDtoQ-W79GICh8o5OgDDpmyPq7lnZqnXGX1IjPe3YfawPtD2J5W9iuqhsucP0MQCpt6uks_aEgEkmVXNbdTf0$" shash="Gwq4oBhd9I9uVSQqEpRLVE+yhhMzTBiTWJz2dUY3KrhnIyIDHP+jkaU+Rvkjk3p+7kaKFbzkxWT3paz3Xok326tDP9amFu1UWneqBORxg7vcXJBevIjJoNzGW4eCmUiOvdwf8qIIxlGnFhkOdaehB5psRoR2ellY7zkqzxqr1ys=" target="_blank"><span style="font-family:"Arial",sans-serif">Library
 Services During COVID-19</span></a><span style="font-family:"Arial",sans-serif; color:black">.</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>