<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">Thanks for the idea. From a quick test it appears that searching
by identifier requires an exact match and doesn't work with wildcards in 3.3.1. Strangely partial matches and wildcards do work in 2.8.0. </span></div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="margin:0px;font-size:12pt;text-align:start">Jesse Griffis</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin:0px;font-size:12pt;text-align:start">Prof. Tech. 2</div>
<span style="margin:0px;font-size:12pt;text-align:start">Systems Development</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="margin:0px;font-size:12pt;text-align:start">WVU Libraries</span></div>
</div>
</div>
</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 Joshua D. Shaw
<Joshua.D.Shaw@dartmouth.edu><br>
<b>Sent:</b> Thursday, December 15, 2022 2:33 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Issue with searching by identifier in PUI</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof"><span class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">A potential test/workaround would be to replace the ampersand with a wildcard
'*' in your searches. If that wildcard search works, I think it would confirm your idea about the ampersand translation.</span></div>
<div class="x_elementToProof"><span class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)"><br>
</span></div>
<div class="x_elementToProof"><span class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">jds<br>
</span></div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Jesse Griffis
<jagriffis@mail.wvu.edu><br>
<b>Sent:</b> Thursday, December 15, 2022 2:23 PM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Issue with searching by identifier in PUI</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_x_MsoNormal, li.x_x_MsoNormal, div.x_x_MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
span.x_x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
-->
</style>
<div lang="EN-US" style="word-wrap:break-word">
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border:0; display:table; width:100%; table-layout:fixed; border-collapse:seperate; float:none">
<tbody style="display:block">
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px; background-color:#A6A6A6">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%; background-color:#EAEAEA; padding:7px 5px 7px 15px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
<div>You don't often get email from jagriffis@mail.wvu.edu. <a href="https://aka.ms/LearnAboutSenderIdentification">
Learn why this is important</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px; background-color:#EAEAEA; padding:7px 5px 7px 5px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
</td>
</tr>
</tbody>
</table>
<div>
<div class="x_x_WordSection1">
<p class="x_x_MsoNormal"><span style="color:black; background:white">Thank you for the advice. I believe we waited for the index to finish completely, but I will double check that. We are able to find the record through regular keyword searches, and in the
staff UI we can find it using the exact same identifier search term. I have a theory that it may have something to do with input sanitization on the PUI side as well as the issue with identifier truncation mentioned in </span><a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchivesspace.atlassian.net%2Fbrowse%2FANW-1556&data=05%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C285e48f5beaa440cd58408daded1e1ac%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C638067290885360987%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bOlRnYdKFFIjFL8tGmvHyzfOLB6A1QB7gnKOhZiLEJk%3D&reserved=0" originalsrc="https://archivesspace.atlassian.net/browse/ANW-1556" shash="mfkCvxtYRU5N4Ysy4NVRRdocQdaWtlobEqGZiiG2CwxlyGOlAes4DGFPXvVjh5FEys7EqSumQ9XqeOdN8pzYbeqKb0vPyCQJqhVuimIXsMQHM8Dtvz4wAFSFmL9cOvyaqYTayen5kX//aBaApZPyReItHiPqn0s+HeIAnpiYsiw="><span style="border:none windowtext 1.0pt; padding:0in; background:white">https://archivesspace.atlassian.net/browse/ANW-1556</span></a><span style="color:black; background:white"> .
The identifier in question has an ampersand which gets translated to "&" in the PUI search and since that isn't an exact match to the identifier it doesn't get returned. I've been trying to figure out a way to fix the ampersand issue and test this theory.</span></p>
</div>
</div>
</div>
</div>
</body>
</html>