Instance - reference data - filters/facets

Description

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:

  1. UI implementation (including the number of displayed options (up to 5 + more)

  2. Effective location - covered by MSEARCH-3

  3. Date created - covered by MSEARCH-30

  4. Date updated - covered by MSEARCH-30

Environment

None

Potential Workaround

None

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Checklist

hide

TestRail: Results

Activity

Show:

Magda Zacharska April 23, 2021 at 2:47 AM
Edited

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

Details

Assignee

Reporter

Priority

Story Points

Development Team

Falcon

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
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

Flag notifications