Re: [Neo4j] Broken pipe error for large query

2014-05-24 Thread Quazi Marufur Rahman
Thanks. It works now. On Sun, May 25, 2014 at 1:11 AM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Try to limit the varlength path, eg > > start p=node:nodes(node_id="14697"), h=node:nodes(node_id="106209") > match path=p<-[:PARENT_OF*..5]-common_ancestor-[:PARENT_OF*..5]->h > re

Re: [Neo4j] Broken pipe error for large query

2014-05-24 Thread Michael Hunger
Try to limit the varlength path, eg > start p=node:nodes(node_id="14697"), h=node:nodes(node_id="106209") > match path=p<-[:PARENT_OF*..5]-common_ancestor-[:PARENT_OF*..5]->h > return common_ancestor as most_recent_common_ancestor > order by length(path) > limit 1 Sent from mobile device Am 23.0

Re: [Neo4j] Broken pipe error for large query

2014-05-24 Thread Quazi Marufur Rahman
Eagerly waiting for any kind of help. On Sat, May 24, 2014 at 1:44 AM, Quazi Marufur Rahman wrote: > Hi, > > I am trying to access a database having 0.4 M nodes and 0.9 M > parent->child relationship. However, I want to find common parent of two > given node using the following query > > start p

[Neo4j] Broken pipe error for large query

2014-05-23 Thread Quazi Marufur Rahman
Hi, I am trying to access a database having 0.4 M nodes and 0.9 M parent->child relationship. However, I want to find common parent of two given node using the following query start p=node:nodes(node_id="14697"), h=node:nodes(node_id="106209") match path=p<-[:PARENT_OF*]-common_ancestor-[:PAREN