Facet behaviour inconsistent with the documentation in REST API
Background
The behaviour of facets is inconsistent with the documentation, especially for large values:
- For facets that support unlimited values:
- if I ask for more values than 1000, I get only 1000 back: https://api.staging.crossref.org/works?rows=0&facet=affiliation:2000 returns 1000 facet values
- If I ask for all values, I get at most 100,000: https://api.staging.crossref.org/works?rows=0&facet=affiliation:* returns 100,000 facet values
- For facets that do not support unlimited values (according to the documentation):
- it is possible to ask for more values than max: https://api.staging.crossref.org/works?rows=0&facet=issn:200 returns 200 facet values
- it is also possible to ask for ALL values: https://api.staging.crossref.org/works?rows=0&facet=issn:* returns 100,000 facet values
Definition of ready
-
Product owner: -
Tech lead: -
Service:: label applied -
Definition of done updated -
Acceptance testing plan: -
Weight applied
Definition of done
-
Unit tests identified, implemented, and passing -
Code reviewed -
Available for acceptance testing via a staging URL, or otherwise -
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 -
AC 1 -
AC 2
-
Notes
Edited by Dominika Tkaczyk