try it without and see how you do...

I just updated the wiki


Kirk Beers wrote:
Brian Whitman wrote:

On Jan 8, 2008, at 10:58 AM, Kirk Beers wrote:


curl http://localhost:8080/solr/update -H "Content-Type:text/xml" --data-binary '/<add allowDups="false" overwriteCommitted="true" overwritePending="true"><doc><field name="entryId">0001</field><field name="title">Title</field><field name="content">It was the best of times it was the worst of times blah blah blah</field></doc></add>'


Why the / after the first single quote?

Hi Brian,
I found that on the Wiki at http://wiki.apache.org/solr/UpdateXmlMessages#head-3dfbf90fbc69f168ab6f3389daf68571ad614bef under the title: Updating a Data Record via curl. I removed it and now have the following:

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">122</int></lst><str name="WARNING">This response format is experimental. It is likely to change in the future.</str>
</response>




Reply via email to