alternative-id filter in ES REST API requires long id
In production, alternative-id filter requires a value that is exactly the same as displayed alternative id. Long id (with prefix http://id.crossref.org/supp/
does not work.
https://api.crossref.org/works?filter=alternative-id:314&select=alternative-id (~2k results)
In staging, it is the other way round:
https://api.staging.crossref.org/works?filter=alternative-id:314&select=alternative-id (empty)
https://api.staging.crossref.org/works?filter=alternative-id:http://id.crossref.org/supp/314&select=alternative-id (~200 results)
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 -
alternative-id
filter should work with the Long id without prefix (http://id.crossref.org/supp/
)
-
Edited by Patrick Polischuk