neo4j/community — Issue #68: admin - bug  gremlin .filter 
Author: himmel24
Created: 2011-10-20 09:16:16+00:00
State: open

Hallo,

In the gremlin-console
this works well:

gremlin> g.v(2).outE[[label:"Tob"]]
==> e[140219][2-Tob->127516]

The following doesn't work

gremlin> g.v(2).outE[[label:"Tob"],[label:"Dtn"]]
==> No signature of method: com.tinkerpop.gremlin.pipes.GremlinPipeline.getAt()
is applicable for argument types: (java.util.ArrayList) values: [[[label:Tob], [label:Dtn]]]
==> Possible solutions: getAt(groovy.lang.Range), getAt(java.util.Map),
getAt(java.lang.String), getAt(java.lang.String), getAt(int), getAt(java.lang.Integer)

now I use filter:

gremlin> g.v(2).outE.filter{it.label=="Tob" || it.label=="Dtn"}
==> e[140219][2-Tob->127516]
==> e[54002][2-Dtn->49111]