成功提交文档后,SolrCloud索引为空

时间:2015-06-18 15:13:26

标签: solr apache-zookeeper solrcloud

我在3台服务器上运行SolrCloud(5.1.0)和ZooKeeper(3.4.6)。我有一个单独的集合,由3个分片组成。我已经定义了一个模式(schema.xml),所有3个Solr服务器和ZooKeeper服务器都已启动并运行。现在我想在集合中添加一个文档(我的索引)。在Solr管理站点(http://MYIP:8983/solr/#/)中,使用Core Selector,我选择要处理的核心。我点击“Documents”并选择“XML”作为“Document Type”。我粘贴我的XML并单击提交按钮。

enter image description here

我获得了“成功”状态。

enter image description here

当我查询索引中的所有内容时,我发现我的索引中没有添加任何内容(numfound = 0)。

enter image description here

为什么我的索引是空的?

0 个答案:

没有答案