Hi Peter,

I'm using Neo4J 1.5.M01 and I use the neo4j manual in this package. So I guess 
the manual is for that version.

Cheers,
Andrew


________________________________
From: Peter Neubauer <peter.neuba...@neotechnology.com>
To: Neo4j user discussions <user@lists.neo4j.org>
Sent: Tuesday, October 4, 2011 12:54 AM
Subject: Re: [Neo4j] Add node to index

Andrew,
do you have the URL to the documentation you are looking at? Is it the
same version as the database version you are using?

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, Oct 4, 2011 at 9:07 AM, andrew ton <andrewt...@yahoo.com> wrote:
>
>
> Hi,
>
> In the document (15.7.6) the example of adding a node to index by a POST 
> method to http://localhost:7474/db/data/index/node/favorites/key/the%20value. 
> The service accept JSON. However the example shows the request posts the body 
> as a string "http://localhost:7474/db/data/node/0"; but not a json object. I 
> tried to Post a string of a node to add it to the index and got an error (as 
> I expected). Can somebody shed some light?
> If we post a json object then what is the key?
>
> Thanks,
> _______________________________________________
> 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 mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to