Opened 6 years ago

Last modified 5 years ago

#2234 assigned enhancement

Apply diacritic insensitivity to all PW searches

Reported by: Lisa Burke Owned by: Kurt Endress
Priority: medium Milestone:
Component: Search Tool Version: N/A
Severity: Keywords: Diacritic insensitive
Cc: lisa.burke@…, Benjamin.Haag@… Database Engine: N/A
Operating System: N/A

Description

Apply diacritic sensitivity to all PW searches

Change History (2)

comment:1 by Lisa Burke, 6 years ago

Summary: Apply diacritic sensitivity to all PW searches → Apply diacritic insensitivity to all PW searches

Insensitivity

comment:2 by Kurt Endress, 5 years ago

Cc: Benjamin.Haag@… added; devteam@… removed

There are two approaches to this:

  1. Change the search code to specify a diacritic insensitive collation for every search
  2. Change the database collation to one that ignores diacritics

Since 1 would mean making changes to most SQL statements in the PW (dataviews and C# code) it would be a huge amount of work. If you wanted to make some, but not all, searches case insensitive it might be doable.

I thought 2 would be easy to do by changing the database default collation setting. Looking into it I believe that only applies to new fields after changing the collation. I now think you'd have to convert each string field into the database to the new collation. Also, a large task, but maybe it could be scripted. Maybe the DBA should investigate this.

Note: See TracTickets for help on using tickets.