You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Robert Dale (JIRA)" <ji...@apache.org> on 2018/06/18 21:50:00 UTC

[jira] [Commented] (TINKERPOP-1575) Neo4j indicies not used when multiple labels are searched for

    [ https://issues.apache.org/jira/browse/TINKERPOP-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516391#comment-16516391 ] 

Robert Dale commented on TINKERPOP-1575:
----------------------------------------

Is there a line between neo4j-gremlin being a simple reference and is performance optimized?

> Neo4j indicies not used when multiple labels are searched for
> -------------------------------------------------------------
>
>                 Key: TINKERPOP-1575
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1575
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: neo4j
>    Affects Versions: 3.2.3
>            Reporter: Branden Moore
>            Priority: Minor
>
> When using a Neo4j-based graph, indicies are not used when more than one label is searched for.
> {noformat}
> gremlin> g.V().hasLabel("alpha").has("myProp", 10)
> Final Traversal  [Neo4jGraphStep(vertex,[~label.eq(alpha),myProp.eq(10)]))]
> gremlin> g.V().hasLabel("alpha", "beta").has("myProp", 10)
> Final Traversal  [Neo4jGraphStep(vertex,[~label.within(alpha,beta),myProp.eq(10)]))]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)