首先,我是用的是solr7.4.0,但是我项目中solrj使用的是4.10.3,这样在使用SolrCloud时,就会出现 org.apache.solr.common.SolrException: Collection not found: XXXXX
这样的异常,collection确定是存在,这时候,我们需要把solrj的版本修改为7.4.0,来保持一致。
使用SolrCloud出现org.apache.solr.common.SolrException: Collection not found: xxxxx
最新推荐文章于 2021-11-13 16:44:38 发布