[Archivesspace_Users_Group] query patterns for strings

Jason Loeffler j at minorscience.com
Fri Feb 17 13:40:34 EST 2017


This example works taking into account solr/schema.xml
<https://github.com/hudmol/archivesspace/blob/0bdeaabc6b3e8c878590e3d4db0e8c5b99b8c344/solr/schema.xml>
:

search?page=1&?page_size=1&aq={"query":{"field":"title","value":"foo","jsonmodel_type":"field_query"}}'

This example returns "Unrecognized search field: id".

search?page=1&?page_size=1&aq={"query":{"field":"id","value":"anything","jsonmodel_type":"field_query"}}'

Is there an additional parameter required to address fields where
type="string"?

JL

Jason Loeffler
Technology Consultant | The American Academy in Rome
Minor Science | Application Development & Metadata Strategy
Brooklyn, New York
jason at minorscience.com
(347) 405-0826
minorscience (Skype)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20170217/27cc891e/attachment.html>


More information about the Archivesspace_Users_Group mailing list