You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2020/08/26 17:16:00 UTC

[jira] [Commented] (TINKERPOP-2400) Cannot retrieve node with `::` in label name

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

Stephen Mallette commented on TINKERPOP-2400:
---------------------------------------------

I'd looked into this a couple weeks ago - as a summary from the referenced issue, labels that have that delimiter added with {{addV()}} end up being split automatically. Making the delimiter configurable is an option but given the way things are implemented I think that ends up being "hard" because {{LabelP}} has no reference to the configuration on the {{Graph}} instance. One idea might be for a {{TraversalStrategy}} to re-write {{LabelP}} instances with the configured delimiter and {{Neo4jGraph.addVertex()}} could respect the configured delimiter.

> Cannot retrieve node with `::` in label name
> --------------------------------------------
>
>                 Key: TINKERPOP-2400
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2400
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: neo4j
>    Affects Versions: 3.4.8
>            Reporter: M. L.
>            Priority: Major
>
> I have a node with some label that contains `::`
> But when I run
> {code}
> gts.V().hasLabel("home::simple").count().next();
> {code}
> it returns `0`.
> This is an issue in TinkerPop and related to the special double colon usage: the double colon for special meaning with multi-label support (for neo4j). 
> Labels that have that delimiter added with {{`addV()`}} end up being split automatically.
>  See also: https://github.com/neo4j-contrib/neo4j-tinkerpop-api-impl/issues/20



--
This message was sent by Atlassian Jira
(v8.3.4#803005)