I have issued a following query as part of my application:

MATCH 

(k{type:"ASSAULT"})-[r1:CLOSE_TO]->( l {type:"BATTERY"}),

(k{type:"ASSAULT"})-[r2:CLOSE_TO]->(m{type:"THEFT"}),

(k{type:"ASSAULT"})-[r3:CLOSE_TO]->(n{type:"NARCOTICS"}),

( l {type:"BATTERY"})-[r4:CLOSE_TO]->(m{type:"THEFT"}),

( l {type:"BATTERY"})-[r5:CLOSE_TO]->(n{type:"NARCOTICS"}),

(m{type:"THEFT"})-[r6:CLOSE_TO]->(n{type:"NARCOTICS"}) 

return count(distinct(k)) as k_count,  count(distinct(l)) as l_count,   
count(distinct(m)) as m_count ,   count(distinct(n)) as n_count;


The query is running indefinitely without giving results. I have 
cross-checked but could not find any error. Am I missing something? Is 
there a limit on maximum number of matches that can be done??

 Please help.

-- 
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