Hi Xavier -

If you would, provide a more detailed description of what the query is
trying to do.

You might look at the Gremlin aggregate, scatter, and gather methods, and I
thought there was a collect() method, but I don't see it in the docs --
Marko, isn't/wasn't that method?).

Here are some docs that might be useful:

Gremlin: Depth First vs. Breadth First
   https://github.com/tinkerpop/gremlin/wiki/Depth-First-vs.-Breadth-First

[Gremlin] The Generalize AsPipe model - back(), loop(), and table()
   https://groups.google.com/d/topic/gremlin-users/5ujhy2bMKMI/discussion

Have Gremlin Talk to Redis in Real Time while It's Walking the Graph
   https://groups.google.com/d/topic/gremlin-users/xhqP-0wIg5s/discussion

And to make things cleaner, you can also create user-define steps:
  https://github.com/tinkerpop/gremlin/wiki/User-Defined-Steps.

For example, here's a user-defined step that builds a tree:
    https://gist.github.com/1197179

- James





--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Returning-arbitrary-data-from-gremlin-tp3327047p3327144.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to