Closed MartinBrugnara closed 3 years ago
Hi, The Arango Tinkerpop implementation labels are modelled as collections, not as a vertex/edge property. The reasons for this were:
However, a side effect of this is that the implementation looses flexibility as ArangoDB graphs require that the vertex and edge collections are known at graph creation.
A solution would be to use Anonymous Graphs, but that would require the tinkerpop provider to be responsible for graph integrity, a major redesign and code development.
The non-deterministic effect you see might be due to how the GraphSONReader process the information, but its not related to the missing schema information.
Hi all, I am trying to load a GraphSON encoded graph into ArangoDB. The loader fails citing that the labels are not in the collections.
My questions:
V
, and all edges in another,E
. Eventually, I will need to filter by label likeg.traversal().E().hasLabel("knows").count().next"
; can I do something similar here?This is the code I am using to import the graph
The following is an example of error I get.
Strangely enough, this is not deterministic: it does not always complain about the same Vertex, sometimes it does it about edges too.