You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Cole Greer (Jira)" <ji...@apache.org> on 2023/09/08 15:21:00 UTC
[jira] [Assigned] (TINKERPOP-1575) Improve use of Neo4j indicies for common searches
[ https://issues.apache.org/jira/browse/TINKERPOP-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cole Greer reassigned TINKERPOP-1575:
-------------------------------------
Assignee: Cole Greer
> Improve use of Neo4j indicies for common searches
> -------------------------------------------------
>
> 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
> Assignee: Cole Greer
> Priority: Trivial
>
> 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}
> Another example where indices are not used:
> {code}
> g.V().hasLabel('person').has(objId,within('test1','test2'))
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)