使用标签的cypher 2.0查询不会返回任何节点 [英] cypher 2.0 query using label does not return any nodes
问题描述
在neo4j浏览器中,当我单击节点标签"下的*时,将返回所有标签类型的节点,而当我单击任何节点时,我会看到标签名称显示在顶部. 但是,以下密码查询无法正常工作.
In the neo4j browser, when I click on * under 'Node Lables' returns nodes of all label types, and when I click on any node, I could see the label name appearing at the top. However, the following cypher query is not working.
MATCH (n:`Home`) RETURN n LIMIT 25
MATCH (n:Home) RETURN n LIMIT 25
我已打开neo4j.properties中的CYPHER 2.0属性.我是否需要更改其他设置? 当我导出为JSON时会看到这些标签
I have turned on the CYPHER 2.0 property in the neo4j.properties. Do I need to change any other settings? I see these lablels when I export as JSON
推荐答案
升级时我注意到了这个问题. 未能找出问题所在,但是我所做的是删除数据库并完全重新创建它->在标签上进行匹配再次起作用. 当然,不可能在所有情况下都删除整个数据库并重新创建它
I noticed this problem when upgrading. Did not manage to find out the problem, but what I did was delete the database and recreate it entirely -> matching on labels worked again. Of course, deleting the entire database and recreating it is not possible in all situations
这篇关于使用标签的cypher 2.0查询不会返回任何节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!