Cédric Damioli created OAK-12506:
------------------------------------
Summary: Add a way to normalize string operands when filtering and
ordering
Key: OAK-12506
URL: https://issues.apache.org/jira/browse/OAK-12506
Project: Jackrabbit Oak
Issue Type: New Feature
Components: search
Reporter: Cédric Damioli
Assignee: Cédric Damioli
Fix For: 2.10.0
When using non-ASCII strings (eg. accentuated strings), sorting often don't
provide expected results.
A few years ago in JCR-3443 I proposed a patch for Jackrabbit adding a
rep:normalize XPath function, which basically remove any Unicode diacritical
mark. It works well and I use it on almost every string-ordered query.
I'd like to add a similar function to Oak as well. I'll work on a PR, inspired
by the implementation of other functions (eg. fn:lower-case).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)