Unnecessary fields in references in ES REST API
References in ES REST API always contain fields isbn-type
, doi-asserted-by
, issn-type
, even if corresponding id fields are not present.
Example from staging (https://api.staging-legacy.crossref.org/works/10.3390/rs11212461), first reference:
{"key": "ref1",
"series-title": "Compact Data Structures: A Practical Approach",
"isbn-type": "print",
"doi-asserted-by": "publisher",
"author": "Navarro",
"year": "2016",
"issn-type": "print"}
The same reference in production (https://api.crossref.org/works/10.3390/rs11212461):
{"key": "ref1",
"author": "Navarro",
"year": "2016",
"series-title": "Compact Data Structures: A Practical Approach"}
Definition of ready
-
Product owner: @ppolischuk1 -
Tech lead: @dtkaczyk -
Service:: label applied -
Definition of done updated -
Weight applied
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 -
Consider any impacts to current or future architecture/infrastructure, and update specifications and documentation as needed -
Acceptance criteria met -
In Elasticsearch REST API, references do not contain fields if corresponding id fields are not present
-
Edited by Patrick Polischuk