【问题标题】:SOLR collections update failureSOLR 集合更新失败
【发布时间】:2017-09-16 00:12:42
【问题描述】:

我是 apache solr 的新手。我已经在本地机器上安装了 apache solr 3.4,并尝试通过 dataimport Handler 为“sample_core”集合建立索引。

我已经通过下面的 url 运行了完全导入。

http://localhost:8983/solr/sample_core/dataimport/?command=full-import&clean=true

并继续使用以下 url 检查数据导入处理程序的状态。

http://localhost:8983/solr/sample_core/dataimport/?command=status

我收到“索引已完成”消息,但数据导入处理程序仍显示忙。

<?xml version="1.0" encoding="UTF-8"?>
<response>
   <lst name="responseHeader">
      <int name="status">0</int>
      <int name="QTime">0</int>
   </lst>
   <lst name="initArgs">
      <lst name="defaults">
         <str name="config">data-config.xml</str>
      </lst>
   </lst>
   <str name="command">status</str>
   <str name="status">busy</str>
   <str name="importResponse">A command is still running...</str>
   <lst name="statusMessages">
      <str name="Time Elapsed">0:0:55.158</str>
      <str name="Total Requests made to DataSource">0</str>
      <str name="Total Rows Fetched">1349</str>
      <str name="Total Documents Skipped">0</str>
      <str name="Full Dump Started">2017-04-19 12:07:35</str>
      <str name="">Indexing completed. Added/Updated: 1349 documents. Deleted 0 documents.</str>
   </lst>
   <str name="WARNING">This response format is experimental. It is likely to change in the future.</str>
</response>

请帮我解决这个问题。

【问题讨论】:

    标签: solr lucene


    【解决方案1】:

    如果您从 Solr 开始,您应该选择当前版本(至少像 6.5 或 6.4)。 Solr 3.4 很古老。

    如果显示“索引已完成”,则它已经结束。 DIH 仪表板页面有时会缓慢更新状态,我已经看到很多时间返回旧状态,所以不要担心那部分。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多