Madhan Neethiraj created ATLAS-2304:
---------------------------------------
Summary: Relationship search API fails with use of TP3 (Janus
graph)
Key: ATLAS-2304
URL: https://issues.apache.org/jira/browse/ATLAS-2304
Project: Atlas
Issue Type: Bug
Components: atlas-core
Affects Versions: 1.0.0
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Relationship search REST API (api/atlas/v2/search/relationship) fails due to
use of Gremlin expressions that are not recognized in TinkerPop3.
TinkerPop2 query:
{code}
g.V('__guid', guid).both(relation).has('__state', T.in,
states).order{it.a.getProperty(sortAttributeName) <=>
it.b.getProperty(sortAttributeName)} [startIdx..<endIdx].toList()
{code}
TinkerPop3 query:
{code}
g.V().has('__guid', guid).both(relation).has('__state',
within(states)).order().by(sortAttributeName, incr).range(startIdx,
endIdx).toList()
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)