Thank you Michael. is there no conditions in Traversal API like WHERE 
clause? are return_filter and prune_evaluator the only condition to filter 
the traversal?

On Thursday, April 3, 2014 6:56:18 AM UTC+7, Michael Hunger wrote:
>
> I just read and learn about rest api traverse neo4j. 
> And I'm wondering if there is a way to return node property only
> NO
>  because all of examples return results in Json. Or all rest api will 
> return results in Json?
> YES
>
> The concepts explained here also apply in the REST API: 
> http://docs.neo4j.org/chunked/milestone/tutorial-traversal-java-api.html
>
> a prune(evaluator) says which relationships not to follow.
>
>
>
>
> On Wed, Apr 2, 2014 at 8:18 PM, Rio Eduardo <rioedu...@gmail.com<javascript:>
> > wrote:
>
>> I just read and learn about rest api traverse neo4j. And I'm wondering if 
>> there is a way to return node property only because all of examples return 
>> results in Json. Or all rest api will return results in Json?
>>
>> And I would ask you some other questions,
>> Ok, Rest Api Traverse has 7 methods that are explained in the doc. Sadly, 
>> I don't see any attributes and the values of its attributes explained like: 
>> body, language, name, direction and type, eg:
>>
>> "return_filter" : {
>>     "body" : 
>> "position.endNode().getProperty('name').toLowerCase().contains('t')",
>>     "language" : "javascript",
>>     "name" : "all"
>>   },
>>   "prune_evaluator" : {
>>     "body" : "position.length() > 10",
>>     "language" : "javascript",
>>     "name" : "none"
>>   },
>>   "relationships" : [ {
>>     "direction" : "all",
>>     "type" : "knows"
>>   },
>>
>> So I'm wondering if there are other attributes and values of 
>> its attributes in each method. If yes, please give me any references that 
>> can explain me more detail about attributes that belong to the methods.
>>
>> and What is different between prune and evaluator and prune_evaluator? 
>> Because I see there is prune itself and evaluator itself in 
>> TravesalDescription(traversal java api) while in Travese(rest api traverse) 
>> there is only prune_evaluator. Or they are the same?
>>
>> Thank you.
>>
>> Note:
>> Neo4j Version: 2.0.1
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to neo4j+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to