CYPHER查询中的LIKE子句

问题描述:

似乎在Cypher查询中不支持LIKE.

It appears that LIKE is not supported in Cypher queries.

还有其他可以执行相同任务的结构吗?

Is there any other construct that would perform the same task?

例如:

start n = node(*) where n.Name LIKE('%SUBSTRING%') return n.Name, n;

使用正则表达式: http://neo4j.com/docs/developer-manual/current/#query-where-正则表达式

start n = node(*) where n.Name =~ '.*SUBSTRING.*' return n.Name, n;