Fulltrxt indexes are by default case insensitive Otherwise you might want to use toupper or toLower on either side
Sent from mobile device Am 01.05.2014 um 15:47 schrieb Mathieu Durand <[email protected]>: > Hi, > > Does anybody know how to perform case insensitive cypher queries with Spring > Data Neo4j. > I'm using annotated repositories but I'm having a hard time figuring out how > to make this case insensitive both in indexes (username parameter in my > example) and where clauses (provider parameter in my example) > > @Query("START user=node:User(username={0}) where user.provider={1} return > user") > public User findUserByProviderAndUsername(String username,String provider); > > Any idea ? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
