On 9 Feb 2011, at 21:25, Michael Hunger wrote:

> and this is supported by the REST API, see:
> http://components.neo4j.org/neo4j-server/milestone/rest.html#Add_to_index
> 
> Hope that helps

It nearly does. In the above example, adding something to an index via curl is 
documented as...

curl -HContent-Type:application/json -X POST -d 
'"http://localhost:7474/db/data/node/123";' 
http://localhost:7474/db/data/index/node/my_nodes/foo/bar

... it's not clear what "my_nodes" is. Is that the index name? As in 
graphdb.index("cities")?

And secondly, does each index entry need a key of "foo" with a value of "bar"? 
As in   {'name': 'New York'}?

thanks

Tom














_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to