On 17 Jan 2011, at 16:40 , Mark Machielsen wrote:

> /rest/index/[indexname] is an element URI. Wikipedia states for a put for an 
> element URI: "Update the addressed member of the collection, or if it doesn't 
> exist, create it.".
> So when I add a document, this is an update of the index (with identifier 
> indexname]). I only pass on the document I want to add, so this is a partial 
> update.

How can /rest/index/[indexname] be an element URI when lateron you state that 
PUT /rest/index/[indexname] adds a new document (to the collection)? What 
happens here when I GET /rest/index/[indexname] without any query? Do I simply 
get a list of all things in [indexname]?

Greetings, Marcel


Reply via email to