Re: [Neo] Indexing in the REST API

2010-03-23 Thread Rick Bullotta
Tuesday, March 23, 2010 2:53 PM To: Neo user discussions Subject: Re: [Neo] Indexing in the REST API What I meant was that URIs shouldn't be handcrafted by the client, but instead retrieved (discoverable) from the server. And the original question was if it's ok to send a payload to

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Mattias Persson
key/value/ > > -Original Message- > From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On > Behalf Of Mattias Persson > Sent: Tuesday, March 23, 2010 12:41 PM > To: Neo user discussions > Subject: Re: [Neo] Indexing in the REST API > > 2010/

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Rick Bullotta
sage- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Mattias Persson Sent: Tuesday, March 23, 2010 12:41 PM To: Neo user discussions Subject: Re: [Neo] Indexing in the REST API 2010/3/23 Rick Bullotta > Ah, got it. In that case, I would just use an extende

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Mattias Persson
day, March 23, 2010 12:21 PM > To: Neo user discussions > Subject: Re: [Neo] Indexing in the REST API > > DELETE on a node URI means delete the Node. > DELETE on an index URI means remove a particular key-value pair from the > index for a Node. > > i.e. two different th

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Rick Bullotta
.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Tobias Ivarsson Sent: Tuesday, March 23, 2010 12:32 PM To: Neo user discussions Subject: Re: [Neo] Indexing in the REST API What we are fishing for here is some input on how we could get rid of the "index URI". They were added

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Tobias Ivarsson
What we are fishing for here is some input on how we could get rid of the "index URI". They were added to the design we are working with now for the sole purpose of enabling us to remove a node from an index association. We create index associations for nodes by POSTing the node URI to /index/{key

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Rick Bullotta
Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Mattias Persson Sent: Tuesday, March 23, 2010 12:21 PM To: Neo user discussions Subject: Re: [Neo] Indexing in the REST API DELETE on a node URI means delete the Node. DELETE on an index URI means

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Mattias Persson
day, March 23, 2010 12:15 PM > To: Neo4j user discussions > Subject: [Neo] Indexing in the REST API > > I'm adding indexing to the REST API now and we just come up with a first > solution where you POST a node URI to /index/{key}/{value}. What you get > back is an "index URI&q

Re: [Neo] Indexing in the REST API

2010-03-23 Thread Rick Bullotta
...@lists.neo4j.org] On Behalf Of Mattias Persson Sent: Tuesday, March 23, 2010 12:15 PM To: Neo4j user discussions Subject: [Neo] Indexing in the REST API I'm adding indexing to the REST API now and we just come up with a first solution where you POST a node URI to /index/{key}/{value}. What you get

[Neo] Indexing in the REST API

2010-03-23 Thread Mattias Persson
I'm adding indexing to the REST API now and we just come up with a first solution where you POST a node URI to /index/{key}/{value}. What you get back is an "index URI" which is kind of an intermediate URI so that you can do GET on the index URI and get back a node representation, just as if you wo