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

Instance, holdings and items - support keyword search by effective location

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Duplicate
    • None
    • None
    • Falcon

    Description

      Purpose/Overview:
      The purpose of this story is to allow the user a keyword search instances, holdings and items by effective location.

      Requirements/Scope:
      1. Case insensitive
      2. Word match in the following Inventory Instance fields: name, code, discoveryDisplayName (all of them are string type)
      3. Search supports wildcard, left-, right-hand truncation while searching location name and code and discoveryDisplayName fields

      Acceptance criteria:

      • Search returns only instances, holdings and items that are associated with effective location that matches the searched term
      • Query returns accurate results count
      • User can search by any word that is a part of the field's value
      • Results are ranked based on term frequency, inverse document frequency and field length

      Outside the scope

      • UI work
      • AND, OR, NOT and NESTING
      • Updates to the name of the location will be handled in a separate story

      Additional Information:
      Example of location record:
      Request GET /locations returns:

      {
        "id": "d9cd0bed-1b49-4b5e-a7bd-064b8d177231",
        "name": "Miller General Stacks",
        "code": "UA/CB/LC/GS",
        "isActive": true,
        "description": "The very general stacks of Miller",
        "discoveryDisplayName": "Miller General",
        "institutionId": "4b2a3d97-01c3-4ef3-98a5-ae4e853429b4",
        "campusId": "b595d838-b1d5-409e-86ac-af3b41bde0be",
        "libraryId": "e2889f93-92f2-4937-b944-5452a575367e",
        "details": {
          "a": "b",
          "foo": "bar"
        },
        "primaryServicePoint": "79faacf1-4ba4-42c7-8b2a-566b259e4641",
        "servicePointIds": [
          "79faacf1-4ba4-42c7-8b2a-566b259e4641"
        ]
      
      }
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases