Shwetha G S created ATLAS-1208:
----------------------------------
Summary: DSL query optimisation
Key: ATLAS-1208
URL: https://issues.apache.org/jira/browse/ATLAS-1208
Project: Atlas
Issue Type: Bug
Reporter: Sharmadha Sainath
Fix For: 0.8-incubating
DSL queries always have the type. The DSL query is transformed into gremlin of
the form: {{g.V().has(type, <type>).has(name, <name>)}}. This is not efficient
as the first has clause returns many vertices. Instead, if we generate the
gremlin query as {{g.V().has(name, <name>).has(type, <type>)}}, the query
should execute faster as the first predicate will filter more vertices
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)