Uploaded image for project: 'ui-search'
  1. ui-search
  2. UISE-68

Codex search treats Swedish diacritics as ascii equivalents

    XMLWordPrintable

Details

    • malconia Sprint 1
    • Prokopovych

    Description

      Overview: When conducting title level searches in Codex for titles containing Swedish diacritics (å,ä,ö) the search behaves as if those characters are reduced to their ASCII equivalents (a,o).

      Steps to Reproduce:

      • Create a couple of records in Inventory with titles starting on a, å, ä or similar
        For example:
        "Den aktansvärda"
        "Den äkta varan"
        "Den åländska skärgården"
        "The Åland archipelago"
        "Ålöndska skärgården"
        "The Aland archipelago"
      • Go to Codex and conduct a title search for åland

      Expected Results:
      The title "The Åland archipelago" is showing.

      (Another form of expected result is that also "Den åländska skärgården" is showing since "åländska" is a form of "åland" that Swedish stemming algorithms might be able to catch.)

      Actual Results:
      "The Aland archipelago" is returned together with the above and a few other items containing the string "aland". Se attached image.

      Additional Information: Will add these in separate issues.

      This particular issue might get solved by changing Collation on relevant tables in Postgres to Swedish (see https://www.postgresql.org/docs/9.1/static/collation.html), but I believe that this issue is related to a bigger discussions on search technology

      TestRail: Results

        Attachments

          1. Capture.PNG
            30 kB
            Theodor Tolstoy

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ttolstoy Theodor Tolstoy
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour
                    1h

                    TestRail: Runs

                      TestRail: Cases