Bug 33545 - Adding faceting to API result sets
Summary: Adding faceting to API result sets
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on: 22440
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-17 15:01 UTC by Martin Renvoize
Modified: 2023-05-05 11:09 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2023-04-17 15:01:02 UTC
Sometimes it would be great to have some additional data about the overall results returned by an api resultset query.

For example, if an API query returns a list of things that include a library they're attached to, it might be nice to be able to get a list of all libraries that appear in the resultset. (not just the current page).  This way, we could display a select filter of just the libraries associated with the current api request to allow further filtering.. i.e. facetting.

We floated the idea of x-koha-facets for requesting this, but we haven't yet come up with a good way to get this data or return it.
Comment 1 Martin Renvoize 2023-05-05 11:09:52 UTC
The `status+strings` embed option in ILLBackends as actually really a facet.. we should move it to a new syntax once we've agreed upon it asap.