Uploaded image for project: 'mod-search'
  1. mod-search
  2. MSEARCH-197

POC: Add /authorities/ids API for Authority Records search

    XMLWordPrintable

Details

    • Falcon Sprint 127, Falcon Sprint 136, Falcon Sprint 137, Falcon Sprint 138
    • 5
    • Falcon

    Description

       Requirements/Scope:

      1. Extend mod-search.yaml with new API /authorities/ids
      2. 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.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                OleksiiKuzminov Oleksii Kuzminov
                OleksiiKuzminov Oleksii Kuzminov
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases