Skip to main content
Solved

Accent insensitive search


When I use the combined filter (search) functionality to filter a list of items, I would like to have the option to use an accent insensitive search. For example, when I want to find all items that contain the word “Citroën”, I want to be able to find those items by searching with the term “citroen”. Is there any way to enable this using the SF currently, and, if so, where do I find it? I would expect to find it in the subjects → data → search detail tab.

Best answer by Mark Jongeling

Hi Dries,

You can use the Extended property IgnoreDiacritics for this, and giving the value 'Yes’. This does come with a little note, as the searchable field has to be a NVARCHAR field.

Whether the GUI should ignore diacritics when using the combined filter. Note that this setting is only supported for NVARCHAR (DB2: VARGRAPHIC, Oracle: NVARCHAR2) columns.

From: Extended properties · Thinkwise Docs (thinkwisesoftware.com)

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3945 replies
  • Answer
  • October 5, 2021

Hi Dries,

You can use the Extended property IgnoreDiacritics for this, and giving the value 'Yes’. This does come with a little note, as the searchable field has to be a NVARCHAR field.

Whether the GUI should ignore diacritics when using the combined filter. Note that this setting is only supported for NVARCHAR (DB2: VARGRAPHIC, Oracle: NVARCHAR2) columns.

From: Extended properties · Thinkwise Docs (thinkwisesoftware.com)


  • Author
  • Apprentice
  • 5 replies
  • October 6, 2021

Hi Mark, 

Thanks for the reply. The IgnoreDiacritics property was already set to Yes, and the reason for the sensitivity to diacritics was that the field was, as you stated, a VARCHAR field. Interestingly, in the Subjects > Data > Filter tab, the box “In combined filter” was checked for this field; however, after changing the datatype to NVARCHAR in the data model, this field became unchecked, which had us puzzled for a while, because we did not expect this to happen. Is this intended behaviour, or would you like me to report this as a bug?


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Dries,

It depends how you changed the datatype. If you assigned a new domain to the Column, that will trigger a default procedure that (re)sets the "In combined filter” based on the value set in the Domain:

Default for this Domain - Not included in combined filter

If you changed the data type inside the Domain, then it shouldn't affect the value set in Subjects > Filter.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings