【发布时间】:2014-02-17 04:42:39
【问题描述】:
我已经在 Solr 中设置了一个新核心,并在 solr.xml 中进行了更改以指向新核心。
当我点击下面的网址时
http://localhost/solr/my_new_core/select?q=*:*
我可以得到以下回复
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
<lst name="params">
<str name="q">*:*</str>
</lst>
</lst>
<result name="response" numFound="0" start="0"/>
</response>
但是当我尝试通过以下命令索引数据时
http://localhost/solr/my_new_core/dataimport?command=full-import
我来了
Error 400: Missing solr core name in path
当新的核心搜索器很好时,为什么数据导入不起作用,数据导入在我的默认核心中正常工作。
【问题讨论】: