Remove facet=* from the error response listing all valid facets
Background
Originally reported here: https://github.com/ropensci/rcrossref/issues/216#issuecomment-888543812
facet=*
is listed as a valid facet here: https://api.crossref.org/journals/1803-2427/works?facet=abc
But returns an exception if used on the public API: https://api.crossref.org/journals/1803-2427/works?facet=*
This query works on the polite (Solr) API: https://api.crossref.org/journals/1803-2427/works?facet=*&mailto=ppolischuk@crossref.org
Observed behavior
facet=*
is listed as a valid facet here: https://api.crossref.org/journals/1803-2427/works?facet=abc
But returns an exception if used on the public API: https://api.crossref.org/journals/1803-2427/works?facet=*
This query works on the polite (Solr) API: https://api.crossref.org/journals/1803-2427/works?facet=*&mailto=ppolischuk@crossref.org
Expected behavior
facet=*
returns all facets, like the Solr version of cayenne.
How urgent
Not very. We can live with it but it is a regression we should resolve.
Definition of ready
-
Product owner: @ppolischuk1 -
Tech lead: @dtkaczyk -
Service:: or C:: label applied -
Definition of done updated -
Acceptance testing plan: staging -
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 -
Acceptance criteria met -
facet=*
removed from facet error response, eg https://api.crossref.org/journals/1803-2427/works?facet=abc
-
-
Acceptance testing passed -
Deployed to production