So when I add shards in RawQueryParameter of Solr Admin I get following error
**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}}**
I want to disable it but didn't found anything useful which is helpful Please let me know how I can disable it
I don't want to specify shards like
<str name="shardsWhitelist">${solr.shardsWhitelist:localhost:8080/solr/test,localhost:8080/solr/test2}</str>
just want to disable it
You can add it as an argument while starting the solr as below.
Also alternative option is you can add as
solr.disable.shardsWhitelist=true
tosolr.in.sh
file,which is found at the path
"...\solr-VERSION\bin"