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 > return common_ancestor as most_recent_common_ancestor > order by length(path) > limit 1 > > > Sent from mobile device > > Am 23.05.2014 um 21:44 schrieb Quazi Marufur Rahman <maruf.c...@gmail.com > >: > > 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-[:PARENT_OF*]->h > return common_ancestor as most_recent_common_ancestor > order by length(path) > limit 1 > > This query show *Unknown error* in query browser and *Broken pipe* error > in log. You can check the log from > here<https://gist.github.com/ff9f1b80cc108176f730.git>. > That message is at line 3266. Execution of this query in neo4j-shell > creates the same issue. > > I have tried some simple query like > > start p=node:nodes(node_id="14697") return p > > and it works Ok. > > Please tell me, what is the problem with the first query and how can I fix > that. You can check the nodes and rels files from > here<http://ge.tt/2Gwpvkh1/v/0?c> > . > > Thanks in advance > > [As I am in a rush to get a solution for this problem, I have crossposted > this issue in > stackoverflow<http://stackoverflow.com/questions/23815603/neo4j-broken-pipe-error>and > here. ] > > -- > 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. > > -- > 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. > -- Quazi Marufur Rahman Department of Computer Science and Engineering University of Dhaka Bangladesh -- 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.