SolrにPostするcurlの内容メモ

手動だとこんな感じ

$ curl http://localhost:8983/solr/[core名]/update -H "Content-Type: text/xml" --data-binary @./xxxxx.xml
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">10264</int></lst>
</response>
$ curl http://localhost:8983/solr/[core名]/update -H "Content-Type: text/xml" --data-binary "<commit/>"
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">36</int></lst>
</response>