Re: [Neo4j] Djikstra with Cost Cypher Implementation?

2016-09-19 Thread Ben Campbell
> In Neo4j 3.0+ shortest path functions pull in predicates into the > evaluation, so something like > > WHERE reduce(sum = 0 , x in rels(path) | sum + x.weight ) < 100 > > should work > > > > > On Fri, Sep 16, 2016 at 12:47 PM, Ben Campbell <campb...@hotmai

[Neo4j] Djikstra with Cost Cypher Implementation?

2016-09-16 Thread Ben Campbell
Anyone know when the Djikstra/A* with cost implementation is being implemented in cypher? It appears to have been accessible from the Web API for a long time, but no easy way to use it when using bolt? Is there a reliable workaround? I basically want to call shortestPath but specify a cost