Re: [Neo4j] Traversal REST body language

2011-09-13 Thread Peter Neubauer
Done,
https://github.com/neo4j/community/issues/20, should show up in
http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html#rest-api-traversal-returning-nodes-below-a-certain-depth
in some hours.

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Sep 13, 2011 at 7:20 AM, Peter Neubauer
peter.neuba...@neotechnology.com wrote:
 Yes Josh,
 that should be true. I could probably create a testcase demonstrating this?

 Cheers,

 /peter neubauer

 GTalk:      neubauer.peter
 Skype       peter.neubauer
 Phone       +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter      http://twitter.com/peterneubauer

 http://www.neo4j.org               - Your high performance graph database.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 On Tue, Sep 13, 2011 at 5:20 AM, jadell josh.ad...@gmail.com wrote:
 I don't use traversals that much, and I'm trying to help another user.  The
 docs are a bit ambiguous, so I want to make sure I have this correct. When
 using a traversal via REST, for the prune_evaluator, I can do this:

 prune_evaluator: {
    language : builtin,
    name : none
 }

 or I can do this:

 prune_evaluator: {
    language : javascript,
    body : ...some javascript here...
 }

 In other words, when using a builtin, I give a name attribute, and when
 using another language I give a body attribute.

 And I'm assuming the same holds true for return_filter as well?

 Thanks

 -- Josh Adell

 --
 View this message in context: 
 http://neo4j-community-discussions.438527.n3.nabble.com/Traversal-REST-body-language-tp3331584p3331584.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


Re: [Neo4j] Traversal REST body language

2011-09-13 Thread jadell
Thanks Peter.  Great turnaround time on the answer, as always!

-- Josh

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Traversal-REST-body-language-tp3331584p3332322.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


Re: [Neo4j] Traversal REST body language

2011-09-13 Thread Peter Neubauer
http://docs.neo4j.org/chunked/snapshot/rest-api-traverse.html#rest-api-traversal-using-a-return-filter

HTH!

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Sep 13, 2011 at 1:18 PM, jadell josh.ad...@gmail.com wrote:
 Thanks Peter.  Great turnaround time on the answer, as always!

 -- Josh

 --
 View this message in context: 
 http://neo4j-community-discussions.438527.n3.nabble.com/Traversal-REST-body-language-tp3331584p3332322.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


[Neo4j] Traversal REST body language

2011-09-12 Thread jadell
I don't use traversals that much, and I'm trying to help another user.  The
docs are a bit ambiguous, so I want to make sure I have this correct. When
using a traversal via REST, for the prune_evaluator, I can do this:

prune_evaluator: {
language : builtin,
name : none
}

or I can do this:

prune_evaluator: {
language : javascript,
body : ...some javascript here...
}

In other words, when using a builtin, I give a name attribute, and when
using another language I give a body attribute.

And I'm assuming the same holds true for return_filter as well?

Thanks

-- Josh Adell

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Traversal-REST-body-language-tp3331584p3331584.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


Re: [Neo4j] Traversal REST body language

2011-09-12 Thread Peter Neubauer
Yes Josh,
that should be true. I could probably create a testcase demonstrating this?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Sep 13, 2011 at 5:20 AM, jadell josh.ad...@gmail.com wrote:
 I don't use traversals that much, and I'm trying to help another user.  The
 docs are a bit ambiguous, so I want to make sure I have this correct. When
 using a traversal via REST, for the prune_evaluator, I can do this:

 prune_evaluator: {
    language : builtin,
    name : none
 }

 or I can do this:

 prune_evaluator: {
    language : javascript,
    body : ...some javascript here...
 }

 In other words, when using a builtin, I give a name attribute, and when
 using another language I give a body attribute.

 And I'm assuming the same holds true for return_filter as well?

 Thanks

 -- Josh Adell

 --
 View this message in context: 
 http://neo4j-community-discussions.438527.n3.nabble.com/Traversal-REST-body-language-tp3331584p3331584.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