0
Есть ли способ, чтобы получить количество на общее число дорожек, найденных из allShortestPaths в запросах типаNeo4j: Cypher подсчитывает все пути, найденные от allShortestPaths?
Match (n:Person{personid:123}), (m:Person{personid:456}), p =allShortestPaths(n-[r*1..6]-m) with reduce(weight = 0, rel in rels(p) | weight + rel.weight) AS weight, n, m,p return n, m, p,weight order by weight limit 25