AnsweredAssumed Answered

lucene sort problem for non-ascii characters

Question asked by vycitalr on Jan 24, 2008
Latest reply on May 27, 2008 by anna_kane
Hello,
I have problems getting correct sorting by lucene when searching for users and sorting by LASTNAME. The users' names in system use non-ascii characters (Czech ones). In fact its just the standard query in the UIAssociationEditor that does not work. I changed it a litte for my purposes, it gives correct results but badly sorted. All the names beggining with the non-ascii chars are always all at the end of result list. In the query I keep the sorting by LASTNAME with

searchParams.addSort("@" + ContentModel.PROP_LASTNAME, true);

Is the org.alfresco.web.data.Sort related to Lucene searching? I do not think so. I do not whuch way I should examine further.

Thank you for your help.

Outcomes