Daniel Kuppitz created TINKERPOP-1586:
-----------------------------------------

             Summary: SubgraphStrategy in OLAP
                 Key: TINKERPOP-1586
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1586
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.2.3
            Reporter: Daniel Kuppitz


If a vertex filter is provided in {{SubgraphStrategy}}, then it will turn any 
edge step in the traversal into something like:

{noformat}
...outE().filter(inV().vertexFilterCondittion())
{noformat}

This breaks any OLAP traversal (leaving the star graph) and is not even the 
behavior that you would always want. We should have an option to disable the 
adjacent vertex checks. In code this would just mean to replace this {{else}}: 
https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java#L92
...with {{else if (checkAdjacentVertices)}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to