Add -H 'Content-type:text/xml; charset=utf-8' after the '<delete...
</delete>' bit.
On May 15, 2007, at 12:55 PM, Alessandro Ferrucci wrote:
I installed solr
solr-2007-05-10.zip
<http://people.apache.org/builds/lucene/solr/nightly/
solr-2007-05-10.zip>
I ran example indexing and it indexes it fine. Search also works
fine.
Now when I go to delete the docs I do:
curl http://localhost:8983/solr/update --data-binary
'<delete><id>SOLR1000</id></delete>'
I get
<html>
<head>
<title>Error 400 missing content stream</title>
</head>
<body>
<h2>HTTP ERROR: 400</h2><pre>missing content stream</pre>
<p>RequestURI=/solr/update</p>
<p><i><small><a href="http://jetty.mortbay.org">Powered by
Jetty://</a></small></i></p>
also when I go to
http://localhost:8983/solr/update in browser I get 400 error (this is
understandable since no post body is in request).
I'm using curl v 7.15.0
Thanks
Alessandro ferrucci
</body>
</html>
--
http://variogr.am/
[EMAIL PROTECTED]