The mail server doesn't seem to be able to send pictures ,the status information of Solr cluster is supplemented below:
"search2":{ "pullReplicas":"0", "replicationFactor":"2", "shards":{ "shard1":{ "range":"80000000-ffffffff", "state":"active", "replicas":{ "core_node4":{ "core":"search2_shard1_replica_n1", "base_url":"http://192.168.52.164:8580/solr", "node_name":"192.168.52.164:8580_solr", "state":"active", "type":"NRT"}, "core_node6":{ "core":"search2_shard1_replica_n2", "base_url":"http://192.168.52.164:8580/solr", "node_name":"192.168.52.164:8580_solr", "state":"active", "type":"NRT", "leader":"true"}}}, "shard2":{ "range":"0-7fffffff", "state":"active", "replicas":{ "core_node7":{ "core":"search2_shard2_replica_n3", "base_url":"http://192.168.52.164:8580/solr", "node_name":"192.168.52.164:8580_solr", "state":"active", "type":"NRT", "leader":"true"}, "core_node8":{ "core":"search2_shard2_replica_n5", "base_url":"http://192.168.52.164:8580/solr", "node_name":"192.168.52.164:8580_solr", "state":"active", "type":"NRT"}}}}, "router":{"name":"compositeId"}, "maxShardsPerNode":"1", "autoAddReplicas":"false", "nrtReplicas":"2", "tlogReplicas":"0", "znodeVersion":4, "configName":"search"}, From: zhta...@163.com Date: 2022-01-16 16:07 To: users Subject: Consult the meaning of maxShardsPerNode Hi, The following is a part of my cluster status I configured maxShardsPerNode to 1,but I can still create a collection with 2 shards and 2 replicas each shard on a node(From the web gui). In addition,if I create a collection with 3 shards and 2 replicas each shard,the Solr server reports the following error(My Solr cluster has deployed five Solr instances) Cannot create collection search4. Value of maxShardsPerNode is 1, and the number of nodes currently live or live and part of your createNodeSet is 5. This allows a maximum of 5 to be created. Value of numShards is 3, value of nrtReplicas is 2, value of tlogReplicas is 0 and value of pullReplicas is 0. This requires 6 shards to be created (higher than the allowed number) Now I'm confused about the meaning of maxShardsPerNode. Thanks.