MATCH (a) WITH a LIMIT 25 MATCH (a)-->(b) return a, b
or return a, collect(b) Michael Am 11.04.2014 um 23:01 schrieb Kevin Burton <[email protected]>: > For example MATCH (a)-[]->(b) RETURN a,b LIMIT 25 returns 25 nodes but if I > increase the limit to 100 or 500 relationships and other nodes start to > appear. I cannot take LIMIT out altogether because I have more than 1000 > nodes and that results in an error from the browser. > > On Friday, April 11, 2014 1:45:10 PM UTC-5, Kevin Burton wrote: > I would like to get all of the relationships and the nodes they are related > to for the first 25 nodes. When I am using the browser to enter Cypher and I > specify LIMIT 25, it seems to limit connections and nodes they are connected > to. If I want to get a full picture I have to not put LIMIT on the Cypher > query. > > Ideas? > > -- > 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. -- 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.
