I guess I found the reason of the slowness:

If Person A is friend with B, and B is friend with C and C is friend with A 
(cyclic), then the query returns duplicated cars. 
I end up with 180 cars instead of 51 .. 

-- 
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 neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to