【发布时间】: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>
请帮我解决这个问题。
【问题讨论】: