Only if each document in Solr has a URI. Add/replace would use PUT. Never, never delete with a GET. The Ultraseek spider deleted 20K docments on an intranet once because they gave it admin perms and it followed the "delete this page" link on every page.
wunder On 6/18/08 5:50 AM, "Otis Gospodnetic" <[EMAIL PROTECTED]> wrote: > As for POST vs. GET - don't let REST purists hear you. :) > Actually, isn't there a DELETE HTTP method that REST purists would say should > be used in case of doc deletion? > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > ----- Original Message ---- >> From: JLIST <[EMAIL PROTECTED]> >> To: solr-user@lucene.apache.org >> Sent: Wednesday, June 18, 2008 4:13:09 AM >> Subject: Feature idea - delete and commit from web interface ? >> >> It seems that the web interface only supports select but not delete. >> Is it possible to do delete from the browser? It would be nice to be >> able to do delete and commit, and even post (put XML in an html form) >> from the admin web interface :) >> >> Also, does delete have to be a POST? A GET should do. >