Query for funders searches in all funder names in production and only in primary name in staging
Background
This query: https://api.crossref.org/funders?query=research+foundation+uk in production returns 3 funders: 100008664 501100000273 and 501100000329. Here are their primary and alternative names:
{"id": "100008664",
"name": "Juvenile Diabetes Research Foundation United Kingdom",
"alt-names": [
"Juvenile Diabetes Research Foundation Ltd",
"The Juvenile Diabetes Foundation (UK)",
"JDRF UK",
"JDRF"
],
...
},
{"id": "501100000273",
"name": "Diabetes Research and Wellness Foundation",
"alt-names": [
"DRWF",
"Diabetes Research and Wellness Foundation UK"
],
...
},
{"id": "501100000329",
"name": "Novo Nordisk UK Research Foundation",
"alt-names": [],
...
}
Note that term "uk" for the first two funders in included in alternative names, but not in primary name.
In staging, the same query: https://api.staging-legacy.crossref.org/funders?query=research+foundation+uk returns only the last funder, 501100000329. The reason is that in staging only primary names are searched, and 501100000329 is the only funder with all query terms in primary name.
Definition of ready
-
Product owner: @ppolischuk1 -
Tech lead: @dtkaczyk -
Service:: label applied -
Definition of done updated -
Weight applied
Definition of done
-
Unit tests identified, implemented, and passing -
Code reviewed -
Available via a staging URL -
Knowledge base reviewed and updated -
Public documentation reviewed and updated -
Consider any impacts to current or future architecture/infrastructure, and update specifications and documentation as needed -
Acceptance criteria met -
query for funders searches in primary name and alternative names, matching production behaviour
-
Notes
Edited by Patrick Polischuk