Skip to content

algo issues with cypher in shortest path #6

@KimEllis

Description

@KimEllis

I went to run:

MATCH (source:Place {id: "Amsterdam"}),
(destination:Place {id: "London"})
CALL algo.shortestPath.stream(source, destination, "distance")
YIELD nodeId, cost
RETURN algo.getNodeById(nodeId).id AS place, cost

from the cypher info on https://github.com/neo4j-graph-analytics/book/blob/master/scripts/path_finding/shortestpath/shortestpath.cypher for shortest path. I received error: There is no procedure with the name algo.shortestPath.stream registered for this database instance.

I do have gds installed on desktop, and looking here it appears algo shortestpath is maybe deprecated?
https://neo4j.com/docs/rest-docs/current/#rest-api-graph-algos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions