`

SolrCloud4.10.4错误: No config set found to associate with the collection

    博客分类:
  • solr
 
阅读更多

1:

当遇到以下错误时:

 

ERROR org.apache.solr.cloud.OverseerCollectionProcessor  – Collection: common operation: createcollection failed:org.apache.solr.common.SolrException: No config set found to associate with the collection.

at org.apache.solr.cloud.OverseerCollectionProcessor.createCollection(OverseerCollectionProcessor.java:2121)

 

75741891 [OverseerThreadFactory-4-thread-3] INFO  org.apache.solr.cloud.OverseerCollectionProcessor  – Overseer Collection Processor: Message id:/overseer/collection-queue-work/qn-0000000052 complete, response:{Operation createcollection caused exception:=org.apache.solr.common.SolrException: No config set found to associate with the collection.,exception={msg=No config set found to associate with the collection.,rspCode=400}}

 

2:

解决办法:

在使用 curl 和 solrCloud Collection API的时候: 加上 &collection.configName 参数即可:

 

/admin/collections?action=CREATE&name= &numShards= &replicationFactor= & name number number

maxShardsPerNode= &createNodeSet= &collection.configName= number nodelist configname

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics