Query returning non-existing paths #336

Closed
b-m opened this Issue Dec 1, 2012 · 0 comments

Projects

None yet

2 participants

@b-m
b-m commented Dec 1, 2012

Here's is the web console setup: http://console.neo4j.org/?id=1t0d7x

The following query is supposed to return all paths from the given person to their friend such that friend lives in as well as attends an event hosted by city. For the given setup, there is only one such path from any person [node(2, 3, 4)] for friend [adam=node(1)] through city [london=node(5)] and event [exhibition=node(9)].

The query below returns non-existing paths for each person=node(2, 3, 4). However, when person=node(*) the three existing matching paths are returned.

start person=node(2) 
match person-[:FRIEND]-friend-[:LIVES]->city-[:HOSTS]->event<-[:ATTENDS]-friend 
return person, friend, city, event, friend;
@systay systay closed this in d6e7cf2 Dec 11, 2012
@systay systay added a commit to systay/neo4j that referenced this issue Dec 11, 2012
@systay systay This is a backport of five bug fixes:
o Fixes #304
  Bug that stops renaming of identifiers that are used as key expressions
  when aggregating

o Fix for problems when using patterns with multiple unnamed nodes

o Fixes problems when doing ORDER BY ... LIMIT x

o Fixed problem with dependencies inside foreach statements being reported wrongly

o Fixes #336 - Patterns that re-use a pattern node can produce non-existing matches
3f6cda9
@systay systay added a commit to systay/neo4j that referenced this issue Dec 19, 2012
@freeeve @systay freeeve + systay Fixes #336 - Patterns that re-use a pattern node can produce non-exis…
…ting matches
fa03029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment