Implement presence or absence searches for indicators

Description

Purpose/Overview:

To allow the user to search the for the presence of absence of indicators related to MARC data fields

Requirements/Scope:

  1. Allows the user to search for the presence or absence of the indicators of a given MARC data field.

Approach:

Acceptance criteria:

  • Evaluate if results are returned in under a minute against a collection of 10 million SRS records. If not create other tickets as needed.

  • Results should be paginated

  • Offset and limit parameters will determine pagination

  • Results should contain a JSON response with keys: records (array of associated instance UUIDS), recordCount (integer)

  • A search with no results should have an empty records array and count of 0

  • When passing parameter suppressed=true then records that are suppressed from discovery will be included in the results

Environment

None

Potential Workaround

None

CSP Request Details

None

CSP Approved

None

CSP Rejection Details

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Jenn Colt May 7, 2021 at 11:34 AM
Edited

Looks good.

Tested with
{
"fieldsSearchExpression": "099.ind2 is 'present' and 245.a ^= 'New York'"
}
 
{
"fieldsSearchExpression": "099.ind2 is 'present'"
}
 
{
"fieldsSearchExpression": "099.ind1 is 'absent'"
}
 

Pavlo Smahin May 6, 2021 at 2:06 PM

, please verify that it works as expected.

Jenn Colt April 30, 2021 at 1:00 PM

Yes that's correct.

Pavlo Smahin April 30, 2021 at 12:37 PM
Edited

Hi , could you clarify which state of an indicator makes it absent, please? 
Is it the right assumption that indicators that contain "\" are absent indicators on the screenshot below?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created April 9, 2021 at 11:57 AM
Updated June 11, 2021 at 12:07 PM
Resolved May 7, 2021 at 11:35 AM
Loading...