Hi Guys,

I am playing with Neo4j REST and I was wondering whether there is a
way to filter out traverse responses: How can I list all nodes
connected to a node with known property ?

If we take the example
http://blog.neo4j.org/2010/03/modeling-categories-in-graph-database.html
, I'd like to list all desktops using a traverse from node 0. I assume
that I don't know what is the node id of the node "Name: Desktops".

So far I managed to run successfully a couple of examples like:

        POST /node/0/traverse/node HTTP/1.1
        Host: localhost:9999
        Accept:application/json
        Content-Type:application/json
        Content-Length: 80
        Connection: close\r\n\r\n

        {
        "return filter": {    "language": "builtin", "name": "all" },
        "max depth": 3
        }

But I want to do more concrete listings now. I am still learning
what's the best way and how to use neo4j. It looks like it might be
just the perfect dB for my needs.

Thanks,
Jakub Czaplicki
twitter.com/kupsztal



Btw. there seems to be a typo in your example on
http://components.neo4j.org/neo4j-rest/#Traverse
Is:
  "return filter": {
    "language": "builtin",
    "name", "all"
  },


Should be (?):
  "return filter": {
    "language": "builtin",
    "name": "all"
  },

Btw.2. you wiki http://wiki.neo4j.org/ account seems to be suspended
(5th May, 12:00, GMT)
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to