Hi,

With Gremlin 1.3, filter{} is required. No shorthands. Thus, outE{} needs
to be outE.filter{}. Moreover, you can now do out(label) or outE(label).

HTH,
Marko.

http://markorodriguez.com

On Nov 19, 2011 10:25 AM, "Haensel" <thehaen...@gmail.com> wrote:

Don't know if this is a bug or a feature, so here we go:

In 1.5.M01 I used a gremlin query to find edges like that:

 '{"script":"g.v(1).outE{it.label==\"relationshipName\"}"}'

which now leads to a MissingMethod exception in 1.5 GA:

"javax.script.ScriptException: groovy.lang.MissingMethodException: No
signature of method:
com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex.outE() is applicable
for argument types: (Script16$_run_closure1) values:
[Script16$_run_closure1@7889fe65]\nPossible solutions:
outE([Ljava.lang.String;), out([Ljava.lang.String;), dump(),
use([Ljava.lang.Object;), both([Ljava.lang.String;),
inE([Ljava.lang.String;)"

I got it working by changing the syntax to:

{"script":"g.v(1).outE(\"relationshipName\")"}

I don't know if this is intended or a bug so I wanted you guys to know about
it

Anyways, thanks for efforts ;)

Hannes

--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/Gremlin-Script-broken-in-1-5-GA-tp3521258p3521258.html
Sent from the Neo4j Community Discussions mailing list archive at
Nabble.com.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to