xml – 错误404:Prob访问/ solr / update.原因:未找到

我已经按照 solr tutorial并将认的collection1重命名为core1,但是当我收到错误404尝试使用以下命令将XML导入solr时:
curl http://127.0.0.1:8983/solr/update --data-binary @monitor.xml -H 'Content-type:application/xml'

以下是回复

<h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/update. Reason:
<pre>    Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i>
如果将集合重命名为core1,则应运行以下命令:
curl http://127.0.0.1:8983/solr/core1/update --data-binary @monitor.xml -H 'Content-type:application/xml'

也就是说,在“solr”和动作之间添加集合名称 – 同样适用于查询

http://localhost:8983/solr/core1/select?q=solr&wt=xml

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念