atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <>
Subject [jira] [Created] (ATLAS-1208) DSL query optimisation
Date Tue, 04 Oct 2016 10:40:20 GMT
Shwetha G S created ATLAS-1208:

             Summary: DSL query optimisation
                 Key: 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

View raw message