Done
Details
Assignee
Oleksii KuzminovOleksii KuzminovReporter
Oleksii KuzminovOleksii KuzminovLabels
Priority
P3Story Points
5Sprint
NoneDevelopment Team
FalconFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Oleksii Kuzminov
Oleksii KuzminovReporter
Oleksii Kuzminov
Oleksii KuzminovLabels
Priority
Story Points
5
Sprint
None
Development Team
Falcon
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 1, 2021 at 12:12 PM
Updated July 8, 2022 at 11:48 AM
Resolved May 6, 2022 at 2:32 PM
Requirements/Scope:
Extend mod-search.yaml with new API /authorities/ids
Add unit/integration tests
Acceptance criteria:
New API for /authorities/ids is exist
Unit/Integration tests created
Proposed solution:
A possible solution for streaming large volumes of IDs. To begin with, it is worth dividing streaming into two operations. Stream ID from the ES to temporary storage, and the next step is to stream unique IDs to the end-user. As temporary storage, it is most convenient to use the Postgres database.
At the request, it is possible to create a temporary table in which to add the IDs from the ES. To optimize export, name the table with the CQL query hash and reuse it. A periodic job can delete result tables after it is no longer needed.