Multiple Edge classes in shortest path doesn't work

26 views
Skip to first unread message

Suhas

unread,
May 10, 2019, 10:13:12 AM5/10/19
to OrientDB
In ODB version 3.0.15, the "shortestPath" function has a parameter "edgeClassName" which is documented as follows:
  • edgeClassName, optional, is the edge class to traverse. By default all edges are crossed. Since 2.0.9 and 2.1-rc2. This can also be a list of edge class names (eg. ["edgeType1", "edgeType2"])

The following works.

shortestpath($from, $to, "OUT", "EdgeClassA")

None of the following work. Returns zero records.

shortestpath($from, $to, "OUT", ["EdgeClassA"])
shortestpath
($from, $to, "OUT", ["EdgeClassA", "EdgeClassB"])

But on this page, it mentions it has been fixed in v2.x. Can someone verify this issue in v3.x? Does another ticket need to be opened on Github?
Reply all
Reply to author
Forward
0 new messages