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

Browse: Improve the query for subject counts

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 1.7.0
    • None
    • Falcon Sprint 138
    • 1
    • Falcon
    • Morning Glory (R2 2022)
    • TBD

    Description

      Purpose/Overview:
      Current query to retrieve the subject counts provides results in 4-6 second. It can be optimized by moving filters from the aggregation to the query level.
      Locally it increases the response time from Elasticsearch to 40 ms from 1 second.

      Approach:

      • Move the includes section from aggregation to the query level

      Acceptance criteria:

      • Integration tests are passed through
      • Browse results are not affected

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                pavel_filippov Pavel Filippov
                pavel_filippov Pavel Filippov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases