On Wed, Sep 7, 2011 at 1:18 PM, Roland Tollenaar <rwatollen...@gmail.com> wrote: > Hi All, > > I want to clear the solr server and start loading documents afresh. > > According to the information I found on internet I would have to do > somethign like this: > > http://localhost:8983/solr/update?commit=true&-H&Content-Type:&text/xml&--data-binary&'<delete><query>*:*</query></delete>' [...]
Are you loading that URL directly in the browser? That won't work. You will need to use something like curl. Thus, curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>' Please see http://wiki.apache.org/solr/UpdateXmlMessages . Regards, Gora