[ https://issues.apache.org/jira/browse/CASSANDRA-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743616#comment-13743616 ]
Sylvain Lebresne commented on CASSANDRA-4245: --------------------------------------------- I'll note that for the comparator itself, this should be pretty simple using [Collator|http://docs.oracle.com/javase/6/docs/api/java/text/Collator.html]. Comparator can already take arguments, so one could imagine those arguments to be the ones from [Locale|http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html] ctor (we could allow a value-less version that take the current locale but I'm personally against it as using the system locale is always a crappy idea imo). There still would be the question of whether we want to add some CQL syntax shortcut to define such types (something like {{text(local=ES)}} or some variation), but that can even be left to a followup ticket since even without it you can use fully qualified comparator names using double quotes anyway. > Provide a locale/collation-aware text comparator > ------------------------------------------------ > > Key: CASSANDRA-4245 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4245 > Project: Cassandra > Issue Type: New Feature > Reporter: Ertio Lew > Assignee: amorton > Priority: Minor > > It is a common use case to use a bunch of entity names as column names & then > use the row as a search index, using search by range. For such use cases & > others, it is useful to have a UTF8 comparator that provides case insensitive > ordering of columns. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira