elasticsearch does not accept all appropriate funder ID formats for award.funder filters
In production, I can use all formats of funder DOI for award filtering:
https://api.crossref.org/works?filter=award.funder:100000002
https://api.crossref.org/works?filter=award.funder:10.13039/100000002
https://api.crossref.org/works?filter=award.funder:https://doi.org/10.13039/100000002
In staging, only the second one returns results:
https://api.staging.crossref.org/works?filter=award.funder:100000002
https://api.staging.crossref.org/works?filter=award.funder:10.13039/100000002
https://api.staging.crossref.org/works?filter=award.funder:https://doi.org/10.13039/100000002
Definition of done
-
Available via a staging URL -
Code reviewed -
Unit tests identified, implemented, and passing -
Public documentation reviewed and updated -
Knowledge base reviewed and updated -
Acceptance criteria met -
award.funder filters accept the following ID formats: 100000002, 10.13039/100000002, https://doi.org/10.13039/100000002
-
Notes
Currently in develop, :transformers are not implemented for this type of filter: https://gitlab.com/crossref/rest_api/-/blob/develop/src/cayenne/api/v1/filter.clj#L109
Edited by Dominika Tkaczyk