Kobla,
If you read a few lines further down in the API desc you see how to retrieve 
node-URIs via the REST index-get call:

curl -H Accept:application/json 
http://localhost:7474/db/data/index/node/index_name/property_name/property_value

returns a list of nodes with their URIs, properties and discoverable URIs.

HTH

Michael

Am 22.04.2011 um 11:33 schrieb Kobla Gbenyo:

> Thanks Michael,
> 
> Please, how can I retrieve the location of the indexed node by its index?
> 
> Kobla
>> You can use the indexing part of the REST API.
>> That means after creation you have to add the fields you are interested in 
>> to an index. Then you can retrieve the node(s) later.
>> 
>> See http://components.neo4j.org/neo4j-server/snapshot/rest.html#Add_to_index
>> 
>> HTH
>> 
>> Michael
>> 
>> Sent from my iBrick4
>> 
>> 
>> Am 22.04.2011 um 09:39 schrieb Kobla Gbenyo<ko...@riastudio.fr>:
>> 
>>> Hello,
>>> 
>>> I am new to this list and I have a question about Neo4j (I am just using
>>> Neo4j).
>>> 
>>> I install neo4j server and Jersey Client (REST API) by which I
>>> communicate with the Neo4j database. My problem is how do I look up a
>>> node (get the location of this node : URI) knowing the value of one of
>>> its properties; I do not know the node ID. (for example I have a node
>>> {"name":"thomas","age":"20"...}; and I want to get the location(URI) of
>>> this node by sending the name "thomas" to the database server).
>>> 
>>> Please, could someone give me his feedback?
>>> 
>>> I will be glad to get any support on graph traversals using REST API.
>>> 
>>> Best regards,
>>> 
>>> -- 
>>> Kobla GBENYO,
>>> S/C M. Jean MATHE,
>>> 28 Rue de la Normandie,
>>> 79 000 Niort.
>>> 
>>> (+33) 6 26 07 93 41 / 6 62 26 64 47
>>> http://www.gbenyo-expo.fr
>>> 
>>> 
>>> _______________________________________________
>>> 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

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

Reply via email to