Solr核心不工作



我在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

当新的核心搜索器很好以及为什么数据导入不起作用时,为什么数据导入在我的默认核心中工作正常,这怎么可能。

  1. 您能否提供有关要导入的项目类型性质的更多详细信息。 有时,多语言需要特定的配置。

  2. 您能否提供您的架构.xml或者至少提供以下其他问题中提到的部分:尝试访问安装在 Glassfish 上的 Solr 管理员时获得"路径中缺少核心名称"或此问题 - HTTP 错误:使用 solr 的路径中缺少 404 个核心名称

最新更新