因此,当我在 Solr Admin 的 RawQueryParameter 中添加分片时,出现以下错误
**error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"HttpShardHandlerFactory shardsWhitelist not configured but required (in lieu of ZkController
and ClusterState) when using the 'shards' parameter. set -Dsolr.disable.shardsWhitelist=true to
disable shards whitelist checks",
"code":403}}**
我想禁用它,但没有发现任何有用的东西请告诉我如何禁用它
我不想指定像
<str name="shardsWhitelist">${solr.shardsWhitelist:localhost:8080/solr/test,localhost:8080/solr/test2}</str>
只想禁用它