Cypher : Adding parentheses changes the result (original) (raw)
Hello,
cc @ExtReMLapin
At the office, we're running this query with Open Cypher (New Native Engine) :
MATCH (nodeDOc:DOCUMENT)<-[rel:in]-(chunk:CHUNK) WHERE NOT (chunk:CHUNK)--(:IMAGE) return nodeDOc, chunk
Returns 8 records
But running the same query but with parentheses :
MATCH (nodeDOc:DOCUMENT)<-[rel:in]-(chunk:CHUNK) WHERE (NOT (chunk:CHUNK)--(:IMAGE)) return nodeDOc, chunk
Returns 25 records
To us, we expect the same number of records
Backup : TEST_REQUETE-backup-20260211-093354590.zip
Have a wonderful day ~~