Solr / SimplePostTool无法索引任何文件503错误

时间:2015-06-04 18:18:07

标签: solr

我是Solr的新手并试图找出索引一个文件的基础知识。我已经开始使用这个教程http://lucene.apache.org/solr/quickstart.html了,但是在Windows上我在运行命令进行索引时遇到了障碍。

这就是我的输出:

SolrCloud example is running, please visit http://localhost:8983/solr"


C:\Projects\solr-5.1.0>java -Dc=gettingstarted -Dtype=text/csv  -Dfiletypes=cs -
jar example/exampledocs/post.jar Z:/Indexer/tfs/ShippingOptionsPerRecipient.aspx
.cs
SimplePostTool version 5.0.0
Posting files to [base] url http://localhost:8983/solr/gettingstarted/update usi
ng content-type text/csv...
POSTing file ShippingOptionsPerRecipient.aspx.cs to [base]
SimplePostTool: WARNING: Solr returned an error #503 (Service Unavailable) for u
rl: http://localhost:8983/solr/gettingstarted/update
SimplePostTool: WARNING: Response: <?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">503</int><int name="QTime">4057</i
nt></lst><lst name="error"><str name="msg">No registered leader was found after
waiting for 4000ms , collection: gettingstarted slice: shard1</str><int name="co
de">503</int></lst>
</response>
SimplePostTool: WARNING: IOException while reading response: java.io.IOException
: Server returned HTTP response code: 503 for URL: http://localhost:8983/solr/ge
ttingstarted/update
1 files indexed.
COMMITting Solr index changes to http://localhost:8983/solr/gettingstarted/updat
e...
Time spent: 0:00:04.255

不幸的是,我找不到任何关于这些错误的文档。

任何帮助都将不胜感激。

0 个答案:

没有答案