I'm a new with Neo4j. When taking a invesgation on neo4j cypher, i'm stumped by the TWO questions about INDEX:
In summary, the index seems not working in EXISTS clause
For example, i have two index: Invoice.id, InvoiceLine.id
profile match (a:Invoice), (b:InvoiceLine) where a.id = "xxx" and b.id = "xx" return a,b;
It shows it hits two indexes
however, if use
a.id = "xxx" or b.id = "xx", it can not hit any one.
So in one word, can we hit indexes on different nodes in OR clause?
Can you have some support? It will help me a lot. We are interested in Neo4j and wish it can bring some new energy into our project.
Apologize for my poor English as a Chinese. ^-^