<div dir="ltr"><div class="gmail_extra">Thanks, Hillel. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Sure, for Accessions that works. </div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://github.com/archivesspace/archivesspace/blob/master/solr/schema.xml#L49">But I'm targeting 'id'</a>, which, in this case, is ambiguous. The request needs a further type parameter, something like &type[]=archival_object but I can't figure out the correct pattern based on the autodocs. </div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 17, 2017 at 6:02 PM, Arnold, Hillel <span dir="ltr"><<a href="mailto:harnold@rockarch.org" target="_blank">harnold@rockarch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">







<div bgcolor="white" lang="EN-US">
<div class="gmail-m_8844717538744771625WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:calibri">Hi Jason,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:calibri">I think you need to use “identifier” rather than “id”, like:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:calibri">search?page=1&?page_size=1&aq=<wbr>{"query":{"field":"identifier"<wbr>,"value":"anything","<wbr>jsonmodel_type":"field_query"}<wbr>}'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:calibri">Hillel<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:calibri"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-family:calibri;color:black">From: </span>
</b><span style="font-family:calibri;color:black"><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-<wbr>bounces@lyralists.lyrasis.org</a>> on behalf of Jason Loeffler <<a href="mailto:j@minorscience.com" target="_blank">j@minorscience.com</a>><br>
<b>Reply-To: </b>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
<b>Date: </b>Friday, February 17, 2017 at 1:40 PM<br>
<b>To: </b>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@<wbr>lyralists.lyrasis.org</a>><br>
<b>Subject: </b>[Archivesspace_Users_Group] query patterns for strings<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">This example works taking into account <a href="https://github.com/hudmol/archivesspace/blob/0bdeaabc6b3e8c878590e3d4db0e8c5b99b8c344/solr/schema.xml" target="_blank">solr/schema.xml</a>:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">search?page=1&?page_size=1&aq=<wbr>{"query":{"field":"title","<wbr>value":"foo","jsonmodel_type":<wbr>"field_query"}}'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">This example returns "Unrecognized search field: id".<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">search?page=1&?page_size=1&aq=<wbr>{"query":{"field":"id","value"<wbr>:"anything","jsonmodel_type":"<wbr>field_query"}}'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is there an additional parameter required to address fields where type="string"?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">JL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:serif,serif;color:rgb(102,102,102)">Jason Loeffler</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:serif,serif;color:rgb(102,102,102)">Technology Consultant | </span><span style="font-family:times;color:rgb(102,102,102)">The American Academy in Rome</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:serif,serif;color:rgb(102,102,102)">Minor Science | Application Development & Metadata Strategy</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:serif,serif;color:rgb(102,102,102)">Brooklyn, New York</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:serif,serif;color:rgb(102,102,102)"><a href="mailto:jason@minorscience.com" target="_blank">jason@minorscience.com</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:serif,serif;color:rgb(102,102,102)"><a href="tel:(347)%20405-0826" value="+13474050826" target="_blank">(347) 405-0826</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:serif,serif;color:rgb(102,102,102)">minorscience (Skype)</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
<br></blockquote></div><br></div></div>