Hello,

I am using Neo4j 2.2.2 on Mac OS X 10.10.2

I have a chain of nodes as follows - 
                       
( Class{name: bar} ) --- [ PARENT ] ----> ( Class(name: foo) )  --- [ 
PARENT ] ---> ( Class ) ............... --- [ PARENT ] ---> ( Class(name: 
default) )
                                     
When I run this query - 
MATCH p=( ( c:Class {name:"bar"} )-[:PARENT*]->( p:Class{name:"default"} ) 
) 
RETURN p

I am getting a single path of length 18, which is right

but when I run the same query with shortest path - 
MATCH p=shortestPath( ( c:Class {name:"bar"} )-[:PARENT*]->( 
p:Class{name:"default"} ) ) 
RETURN p

I am not getting any path, shouldn't it return the one existing path


-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to