Hi there,
The problem I'm trying to solve is getting a set of nodes with there
related nodes (so, a set of trees).
Ie i want to select a list of objects and get tags assigned to them at
the same time (rather then do a separate call for each object).
Looks like there's some tree functionality available as described in
Tree Patter doc here:
https://github.com/tinkerpop/gremlin/wiki/Tree-Pattern
However, queries from that doc dont work in my case:
gremlin> g = TinkerGraphFactory.createTinkerGraph()
==> tinkergraph[vertices:6 edges:6]
gremlin> g.v(1).out.out.path
==> null
gremlin> g.v(1).out.out.path()
==> [v[1], v[4], v[5]]
==> [v[1], v[4], v[3]]
gremlin> g.v(1).out.out.tree.cap
undefined
==> g.v(1).out.out.tree.cap()
undefined
==> g.v(1).out.out.tree().cap()
==> No signature of method:
com.tinkerpop.gremlin.groovy.GremlinGroovyPipeline.tree() is applicable
for argument types: () values: []
==> Possible solutions: grep(), take(int), grep(java.lang.Object),
reset(), size(), store()
Some problem calling tree step, not sure what it the correct way.
Does anyone know what could be the issue here?
I'm using Neo4j 1.61
Cheers,
Alexei