-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area/querylangIssues related to the query language specification and implementation.Issues related to the query language specification and implementation.area/querylang/algosRelated to graph algorithms, such as k-shortest path.Related to graph algorithms, such as k-shortest path.kind/featureSomething completely new we should consider.Something completely new we should consider.priority/P3Low priority, something to be done once everything else seems fixed.Low priority, something to be done once everything else seems fixed.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Milestone
Description
With Neo4j, the query can be ordered by the length of the edge path, and return depth of the path in the query result, it's useful in some scenario, such as calculating the relationship rank.
In Dgraph, the depth is only a parameter in the recurse query, I think Dgraph can go further.
START n=node:index(Name=“Steven Spielberg”)
MATCH path=n-->m--l<--o
RETURN o
ORDER BY length(path);
Metadata
Metadata
Assignees
Labels
area/querylangIssues related to the query language specification and implementation.Issues related to the query language specification and implementation.area/querylang/algosRelated to graph algorithms, such as k-shortest path.Related to graph algorithms, such as k-shortest path.kind/featureSomething completely new we should consider.Something completely new we should consider.priority/P3Low priority, something to be done once everything else seems fixed.Low priority, something to be done once everything else seems fixed.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.