Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cypher 2.0 query using label does not return any nodes [closed]

Tags:

neo4j

cypher

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

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

like image 831
patb23 Avatar asked Feb 17 '26 00:02

patb23


1 Answers

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

like image 136
2 revs Avatar answered Feb 19 '26 20:02

2 revs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!