I have a graph in neo4j with 100 million nodes. I created an unique constraint on a property but when I use the property in my where clause it returns no rows. I know it has a result but returns no rows.
my Cypher query is like below:
MATCH(n:Person{PK:'1'})
RETURN n
or
MATCH(n:Person)
WHERE n.PK='1'
RETURN n
MATCH (n:Person {PK:1})
work? – Martin Preusse:schema
in the browser? What cypher did you use to create the constraint? What is the node data that you believe should match the index? – ceejPerson
nodes? What does this return?MATCH (n:Person) RETURN n LIMIT 5;
– cybersam