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

Send remove and index requests as a single bulk request.

    XMLWordPrintable

    Details

    • Type: Tech Debt
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Labels:
    • Template:
    • Sprint:
      Falcon Sprint 113
    • Story Points:
      2
    • Development Team:
      Falcon

      Description

      In order to add and remove resources from the index we generate two separate Bulk requests to Elasticsearch but hey can be combined and sent as a single one.

      In order to achieve this we have to move indexing logic from org.folio.search.integration.KafkaMessageListener to org.folio.search.service.IndexService#indexResources.

      Here is a patch with proposed changes - Send_single_batch.patch

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pavel_filippov Pavel Filippov
                Reporter:
                bohdan-suprun Bohdan Suprun
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases