g.V('type','User').and(_().out('author').has('type','Book'),_().or(_().has('position',CONTAINS,'staff'),_().has('description',CONTAINS,'researcher'))).as('user').select
g.V().has('type','User').and(out('author').has('type','Book'),or(has('position',CONTAINS,'staff'),has('description',CONTAINS,'researcher'))).as('user').select()
java.lang.RuntimeException: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: com.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.out() is applicable for argument types: (java.lang.String) values: [feature]\nPossible solutions: get(java.lang.String), put(java.lang.String, java.lang.Object), wait(), any(), dump(), wait(long)\"}"static import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.*
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/f04e3c57-63e9-48ef-b7a4-1f8079163080%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
g.V().or(__.has('type','User'),__.out('author'))
"{\"message\": \"java.lang.RuntimeException: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: com.tinkerpop.gremlin.process.graph.util.DefaultGraphTraversal.or() is applicable for argument types: (com.tinkerpop.gremlin.process.graph.util.DefaultGraphTraversal, com.tinkerpop.gremlin.process.graph.util.DefaultGraphTraversal) values: [[HasStep([type,eq,API])], [VertexStep(OUT,[invocation],vertex)]]\nPossible solutions: sort(), any(), min(), grep(), max(), sum()\"}"To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/54b3117b-b1c8-48e4-a0ad-c4414f844dc0%40googlegroups.com.
gremlin> Gremlin.version()
==>3.0.0.M7
gremlin> g.V().or(__.has("name", "marko"), __.out("created")).values("name")
No signature of method: com.tinkerpop.gremlin.process.graph.util.DefaultGraphTraversal.or() is applicable for argument types: (com.tinkerpop.gremlin.process.graph.util.DefaultGraphTraversal, com.tinkerpop.gremlin.process.graph.util.DefaultGraphTraversal) values: [[HasStep([name,eq,marko])], [VertexStep(OUT,[created],vertex)]]
Possible solutions: sort(), max(), sum(), any(), grep(), min()gremlin> g.traversal().V().or(__.has("name", "marko"), __.out("created")).values("name")
No signature of method: com.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.traversal() is applicable for argument types: () values: []
...but I assume that is not needed in M7?!
gremlin> Gremlin.version()
==>3.0.0.M8-incubating
gremlin> g.traversal().V().or(__.has('name','marko'),__.out('created')).values()
==>marko