【问题标题】:Solr core not workingSolr 核心不工作
【发布时间】: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

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

【问题讨论】:

    标签: solr lucene


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

    2. 您能否提供您的 schema.xml 或至少在这些其他问题中提到的部分:Getting "missing core name in path" when trying to access Solr admin installed on Glassfish 或这个问题 - HTTP ERROR: 404 missing core name in path with solr

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-08-14
      • 2013-12-16
      • 2012-10-02
      • 1970-01-01
      • 2017-03-11
      • 2013-06-07
      • 2014-11-24
      • 1970-01-01
      相关资源
      最近更新 更多