Limiting Cypher queries
问题 I am currently using a neo4j database with 50000 nodes and 2 million relationships to perform cypher MATCH queries, like the one below: start startnode = node(42660), endnode = node(30561) match startnode-[r*1..3]->endnode return r; This query by itself provides 443 rows, but I only want Cypher to find 5 matches and return those only. Allow me to clarify: I do not just want Cypher to return only 5 results, I also want cypher to STOP querying once it finds 5 results. I DO NOT want Cypher to