<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.gmailsignatureprefix
        {mso-style-name:gmail_signature_prefix;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’ve also tested this and we are experiencing the same issue. I’ve test this on 2.8.1 and also the latest version of ASpace.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Best wishes,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Matthew<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">----------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Matthew Neely<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Senior Archivist<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Special Collections<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Bodleian Libraries<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Tel: 01865 287158<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Post: The Weston Library, Broad Street, Oxford, OX1 3BG<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Email: <a href="mailto:matthew.neely@bodleian.ox.ac.uk">
matthew.neely@bodleian.ox.ac.uk</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Web: </span><span style="color:#1F497D"><a href="http://www.bodleian.ox.ac.uk/weston">http://www.bodleian.ox.ac.uk/weston</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> 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> 26 April 2023 14:33<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<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Joshua,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for following up on this and locating that ticket, I'll add my comments there.  This also fits with my vague understanding that it used to be impossible to have fields indexed in only the staff side (it was both or neither), but
 that this was something that could be done now (or will be possible in the near future).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">All the best,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Dan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Apr 25, 2023 at 8:36 AM Joshua D. Shaw <<a href="mailto:Joshua.D.Shaw@dartmouth.edu">Joshua.D.Shaw@dartmouth.edu</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Hey all<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">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" target="_blank">
https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L126</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">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" target="_blank">
https://github.com/archivesspace/archivesspace/blob/v3.3.1/indexer/app/lib/indexer_common.rb#L1156</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Looks like there is at least one very old outstanding ticket that addresses this:
<a href="https://archivesspace.atlassian.net/browse/ANW-261" target="_blank">https://archivesspace.atlassian.net/browse/ANW-261</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">jds<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="m_-6147511201531353650divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black">
<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">
archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Benn Joseph <<a href="mailto:benn.joseph@northwestern.edu" target="_blank">benn.joseph@northwestern.edu</a>><br>
<b>Sent:</b> Friday, April 21, 2023 4:22 PM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Rights Statement notes indexed in PUI even if unpublished</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p><span lang="EN-US">Hi Dan,<o:p></o:p></span></p>
<p><span lang="EN-US">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).<o:p></o:p></span></p>
<p><span lang="EN-US">--Benn<o:p></o:p></span></p>
<p><span lang="EN-US"> <o:p></o:p></span></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-color:currentcolor currentcolor">
<p><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">
archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
<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 <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Rights Statement notes indexed in PUI even if unpublished<o:p></o:p></span></p>
</div>
<p><span lang="EN-US"> <o:p></o:p></span></p>
<div>
<div>
<p><span lang="EN-US">Hi Benn,<o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US">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).<o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US">I suspect this issue may be systemic, but haven't had the opportunity to test it out.<o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US">Dan<o:p></o:p></span></p>
</div>
</div>
<p><span lang="EN-US"> <o:p></o:p></span></p>
<div>
<div>
<p><span lang="EN-US">On Fri, Apr 21, 2023 at 2:34 PM Benn Joseph <<a href="mailto:benn.joseph@northwestern.edu" target="_blank">benn.joseph@northwestern.edu</a>> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<div>
<div>
<p><span lang="EN-US">Happy Friday all,<o:p></o:p></span></p>
<p><span lang="EN-US">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.<o:p></o:p></span></p>
<p><span lang="EN-US"> <o:p></o:p></span></p>
<p><span lang="EN-US">Thanks,<o:p></o:p></span></p>
<p><span lang="EN-US">--Benn<o:p></o:p></span></p>
<p><span lang="EN-US"> <o:p></o:p></span></p>
<p><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">Benn Joseph
</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">(he/him/his)</span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">Head, Collections Services</span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">McCormick Library of Special Collections & University Archives</span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">Northwestern University Libraries</span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#4E2A84">Northwestern University</span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><a href="http://www.library.northwestern.edu/" target="_blank"><span style="color:windowtext">www.library.northwestern.edu</span></a></span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" 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><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">847.467.6581</span><span lang="EN-US"><o:p></o:p></span></p>
<p><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<p><span lang="EN-US">_______________________________________________<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$" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p><span lang="EN-US"><br clear="all">
<br>
-- <o:p></o:p></span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p><span lang="EN-US">Dan Michelson<o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US">Collections Archivist<o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US">Smith College Special Collections<o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p><span lang="EN-US" style="font-family:"Arial",sans-serif;color:black">For current library access and services details, see
</span><span lang="EN-US"><a href="https://urldefense.com/v3/__https:/libraries.smith.edu/library-services-during-covid-19__;!!Dq0X2DkFhyF93HkjWTBQKhk!RjThTRKjCVsDtoQ-W79GICh8o5OgDDpmyPq7lnZqnXGX1IjPe3YfawPtD2J5W9iuqhsucP0MQCpt6uks_aEgEkmVXNbdTf0$" target="_blank"><span style="font-family:"Arial",sans-serif">Library
 Services During COVID-19</span></a></span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:black">.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="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="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
<span class="gmailsignatureprefix">-- </span><o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Dan Michelson<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Collections Archivist<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Smith College Special Collections<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:black">For current library access and services details, see
</span><a href="https://libraries.smith.edu/library-services-during-covid-19" 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><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>