srophe / srophe-eXist-app

DEPRECATED eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
10 stars 12 forks source link

API filter for ektobe headwords #1049

Open nathangibson opened 7 years ago

nathangibson commented 7 years ago

Please add an API filter for person names syriaca-tags="#ektobe-headword". E.g., http://wwwb.library.vanderbilt.edu/exist/apps/srophe/person/21

<persName xml:lang="fr" source="#bib21-13" syriaca-tags="#ektobe-headword" xml:id="name21-11">Grégoire le moine</persName>

Once tested this will need to be able to be used on production server API.

wsalesky commented 7 years ago

@nathangibson Can you clarify the use case for this request? How/who will be using it, what results are expected?

nathangibson commented 7 years ago

You might need to get details from @dlschwartz and/or the eKtobe developer. So far as I understand:

  1. Queries on persName should include ektobe-headwords. I assume they already would. Perhaps it would be helpful to have a way of prioritizing/only returning the records having an ektobe-headword that begins with the query string.

  2. Being able to query a URI and get back the ektobe-headword.