Developer forum

Forum » Ecommerce - Standard features » product index search eComQuery=e does not find ë

product index search eComQuery=e does not find ë

Remi Muller
Reply

We have a catalog with product names containing characters like 'ë'.

These products are not found when using character like 'e'.

 

Is there a setting for this or can Dw supply a fix?

(I asume that danish also needs this)

This on dw version 8.4.1.18 and older.


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Remi

You can change the collation on the product name and product description columns in the database to an "accent insensitive" collation, one of those ending on AI. So change it to "SQL_Latin1_General_CP1_CI_AI" and it works.

See screens.

BR Nicolai

Capture.JPG Capture2.JPG
Votes for this answer: 1
 
Nicolai Høeg Pedersen
Reply

You do get some warnings on index sizes and updates of related tables. Just say yes to that.

 
Diogo Brito
Reply

Hi,

The problem with the collations is not only applied to the EcomProducts. This will apply to almost any search we have on the website. We have been using "SQL_Latin1_General_CP1_CI_AI" collation in our databases for quite a while because in Portuguese  we use a lot of accents, but after a while, when updating to newer Dynamicweb versions the problems started to show and some scripts would not run like the creation of the EcomRMA tablesand others. Dynamicweb Helpdesk has provided me with a collation fixer tool to solve some issues, however, eventually it was messing to much with the database so we had to change the collation again into "SQL_Latin1_General_CP1_CI_AS" so that the Dynamicweb updates would run without a problem.

It seems a little bit "messy" changing the colation for only two columns and while that solves the problem for products it doesn't solve for Pages and Paragrafs. It would be great if it was possible to have Dynamicweb update scripts independent from the collation in use.

BR Diogo Brito

 
Remi Muller
Reply

You have a valid point. Dw should have better support for accent insensitive.

Nice feature would be the have this configured on website level or the complete installation.

 

A quickwin could that we can agree that de dw default collation goes to SQL_Latin1_General_CP1_CI_AI (for defaultemptydata and solutionset db)

Dw can test and fix issues and say the next version is AI compatible.

I know it can be pain if temp tables are created in sql server because these are by default in the collation of the sql server setting. It should all be fixable :)

 
Nicolai Høeg Pedersen
Reply

Hi Diogo & Remi

There is a difference between setting the AI collation for the entire database and selected fields.

Will look into if we should release an AI version.

BR Nicolai

 
Diogo Brito
Reply

Hello Nicolai,

Did this situation suffred any development?

BR, Diogo Brito

 
Nicolai Høeg Pedersen
Reply

No it did not.

 

You must be logged in to post in the forum