Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-719

Add indexTitle, alternativeTitles, series to keyword search index

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Prokopovych - Sprint 118
    • Story Points:
      2
    • Development Team:
      Prokopovych
    • Release:
      R2 2021 Bugfix
    • Affected Institution:
      Duke, GBV, TAMU

      Description

      Charlotte: Holly Mistlebauer - this would also be something the bugfest testers would find. Can we pul it in as a Juniper Bugfest ticket?

      Overview: The keyword search index contains the title field, but not the indexTitle, alternativeTitles, series fields.

      Steps to Reproduce:

      1. Create an instance with these fields:
      2. title = xyza
      3. alternative title (other title) = xyzb
      4. index title = xyzc
      5. series statements = xyzd
      6. Use the "Title (all)" search
      7. When using one of xyza, xyzb, xyzc, xyzd the instance is found.
      8. Use the "Keyword (title, contributor, identifier)" search
      9. When using xyza the instance is found.
      10. Use one of xyzb, xyzc, xyzd

      Expected Results:

      The instance is found.

      Actual Results:

      The instance is not found.

      Additional Information:

      https://github.com/folio-org/mod-inventory-storage/blob/v20.1.0/src/main/resources/templates/db_scripts/schema.json defines the keyword and allTitles indexes as follows:

      {
        "fieldName": "keyword",
        "multiFieldNames": "title,contributors[*].name,identifiers[*].value"
      },
      {
        "fieldName": "allTitles",
        "multiFieldNames": "title,indexTitle,alternativeTitles[*].alternativeTitle,series"
      },

      Required change for the keyword index:

      {
        "fieldName": "keyword",
        "multiFieldNames": "title,indexTitle,alternativeTitles[*].alternativeTitle,series,contributors[*].name,identifiers[*].value"
      },

      This is a very easy fix.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                felkerk Kyle Felker
                Reporter:
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases