ArangoDB anonymous graph traversal -
i planing use arangodb , faced problem don't know how solve. simple traversals in case there 2 requirements don't know how solve:
- i not know in advance type of vertices edge connect to. want able connect edge of 1 type vertex on side.
- for 1 vertex, want retrieve connected vertices (depth 1) no matter edge type.
for requirement 1, example tag vertex (to tag entity information) , want able tag vertex using i.e. hastag edge in named graph. see need define "from" collections ("to" collection tag collection) , limited 10 collections. since have 100 or more collections don't see how solve named graphs.
option use anonymous graphs have problem in second requirement. want have option, when given vertex, find connected vertices (depth = 1) no matter type of edge. in anonymous graph need specify of edge collections in query , again, there 100 or more of them. don't know if there limit number assume there 1 - maybe i'm mistaken since haven't yet tried out.
has idea how solve arrangodb? database more "typeless", is, wouldn't have define type of vertex collection edge can connect to.
best regards tomaz
you can have more 10 vertex collections in named graph. limitation of 10 exists in webui. creating named graph on arangoshell or server console work.
Comments
Post a Comment