SolrOperationsTools使用 basic Solr scripts
?
curl "http://localhost:8080/solr/update?maxSegments=2&optimize=true"
xml:
curl?http://localhost:8080/solr/update?--data-binary?"<optimize?maxSegments="2"?/>"?-H?"Content-type:text/xml;?charset=utf-8"