Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer
Neo4j 1.6 released - dzone.com/6S4K
The Neo4j Heroku Challenge - http://neo4j-challenge.herokuapp.com/
there are two things that come to mind in sql
one is the COLLATE that is applied to the DB or Column. with COLLATE SQL_Latin1_General_CP1_CI_AS strings are case insensitive
the other is the LOWER function. you can use the LOWER(myCol) in the OrderBy clause.
I understand that the COLLATE would be a "big job" - but it would be a great solution! if you were able to tie it in with Lucene at the same time (don't even know if that would be possible) that would be great. it would also solve some other sorting issues that i have seen other users ask on the form (someone asked about sorting chinese characters).
Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer
Neo4j 1.6 released - dzone.com/6S4K
The Neo4j Heroku Challenge - http://neo4j-challenge.herokuapp.com/
Also,
I think this should be solved in the indexing system rather than
Cypher at the moment, otherwise the query language will be hard-tied
to Lucene as the backend which is not what we want. So, we should
think of ways to make this more flexible at the index provider level.
order by tolower(n.name) desc
For now keep a separate field with the lc value
Von meinem iPhone gesendet