Mike,

Try "return_filter" and "max_depth".  I believe most of the JSON
property names are underscore separated now.  I don't know if "depth
first" also needs the underscore.

-- Josh Adell

>
> Message: 3
> Date: Tue, 12 Jul 2011 03:39:14 -0700 (PDT)
> From: mike_t <[email protected]>
> Subject: [Neo4j] Problems with neo4j 1.4 rest server and filter
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
> I have some problems with the new version of neo4j.
>
> For my application i wrote a few unit test. These worked perfectly in neo4j
> 1.2 and 1.3 but not in 1.4.
>
> For example:
> I wanna have all relationships for a node with a special name. So I post
> following message to the url
> http://localhost:7474/db/data/node/1/traverse/relationship :
>
>
> {  "order" : "depth first",  "uniqueness" : "relationship", "return filter"
> : { "language" : "javascript", "body" : "position.length() > 0 &&
> position.lastRelationship().getProperty('name').toLowerCase().indexOf('test')!=-1"
> }, "max depth" : 1 }
>
> I think neo4j ignores the filter and returns all relationships.
>
>
> --
> View this message in context: 
> http://neo4j-user-list.438527.n3.nabble.com/Problems-with-neo4j-1-4-rest-server-and-filter-tp3162043p3162043.html
> Sent from the Neo4J User List mailing list archive at Nabble.com.
>
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to