The purpose of this story is to create a facet that will provide a quick way to narrow down search results by selecting values for statistical codes coming from the reference data but filtering by keys stored in inventory instance, holdings and item records.
Support statistical codes for instances holdings and items:
|Filter/Facet||Reference data||Instance field|
|Statistical codes||/statistical-codes||statisticalCodeIds (array of strings)|
- Query returns accurate hit count
- Query returns only instances that fulfill selected facet
- Filter can be combined and represent logical conjunction
- Filters are part of the cql query and the fields which are filtered should be configured in mappings