Instance - reference data - filters/facets
Description
Environment
None
Potential Workaround
None
CSP Request Details
None
CSP Rejection Details
None
CSP Approved
None
clones
defines
is cloned by
Checklist
hideTestRail: Results
Activity
Show:
Magda Zacharska April 23, 2021 at 2:47 AMEdited
Pavel Filippov April 22, 2021 at 12:01 PM
Facet/filter for field instanceFormatId was added in terms of https://folio-org.atlassian.net/browse/MSEARCH-4#icft=MSEARCH-4 and it's fully covered with integration tests
Duplicate
Created January 27, 2021 at 3:27 AM
Updated April 23, 2021 at 2:48 AM
Resolved April 23, 2021 at 2:47 AM
TestRail: Cases
TestRail: Runs
Purpose/Overview:
The purpose of this story is to create facets/filters that will provide a quick way to narrow down search results by selecting values coming from the reference data but filtering by keys stored in instance records
Requirements/Scope:
Following fields provide faceted search:
Filter/Facet
Reference data
Instance field
Formats
/instance-formats
instanceFormatIds (array of strings)
Nature of Contents
/nature-of-content-terms
natureOfContentTermds (array of strings)
Mode of Issuance
/modes-of-issuance
modeOfIssuanceId (string)
Resource Type
/instance-types
instanceTypeId (string)
Approach:
Acceptance criteria:
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
Out of scope:
UI implementation (including the number of displayed options (up to 5 + more)
Effective location - covered by MSEARCH-3
Date created - covered by MSEARCH-30
Date updated - covered by MSEARCH-30