Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
Description
Relationship search REST API (api/atlas/v2/search/relationship) fails due to use of Gremlin expressions that are not recognized in TinkerPop3.
TinkerPop2 query:
g.V('__guid', guid).both(relation).has('__state', T.in, states).order{it.a.getProperty(sortAttributeName) <=> it.b.getProperty(sortAttributeName)} [startIdx..<endIdx].toList()
TinkerPop3 query:
g.V().has('__guid', guid).both(relation).has('__state', within(states)).order().by(sortAttributeName, incr).range(startIdx, endIdx).toList()