Skip to content

Cypher : Adding parentheses changes the result #3403

@vitoprr

Description

@vitoprr

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 ~~

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions