| Have you looked at placement plug-in?
Jan Høydahl Thanks Shawn, Earlier I only started solr in cloud mode on serverI ran below command to create collection, after starting solr on cloud mode on eight serversNow core are created on eight shards, i.e each shard is on different server./solr create_collection -c doc1 -s 4 -rf 2One question, current when I run create_collection, each server has random shardI would like for example server1 to have shard1 & server 2 to have shard 2, like belowCan you let me know how I can achieve thisServer1 - shard1Server2 - shard2Server3 - shard3Server4 - shard4-----Original Message-----From: Shawn Heisey <[email protected]>Sent: Sunday, November 27, 2022 10:40 AMTo: [email protected]Subject: Re: Solr create collections on different serversOn 11/27/22 08:38, Shawn Heisey wrote:curl
https://urldefense.com/v3/__http://localhost:8983/solr/admin/zookeeper?detail=true&path=*2Flive_nodes__;JQ!!NknhfzgzgQ!zaP3hssuPysij-Z5zHGl-i773VNIc3e-y2fbMCjFricp4L4xgCQEwpvh0iQTq_Dd16OUG2DVm1qWNq6OdDPUWhH4YLLyMiC9$
That command will not work as-is. I forgot the quotes.curl"https://urldefense.com/v3/__http://localhost:8983/solr/admin/zookeeper?detail=true&path=*2Flive_nodes__;JQ!!NknhfzgzgQ!zaP3hssuPysij-Z5zHGl-i773VNIc3e-y2fbMCjFricp4L4xgCQEwpvh0iQTq_Dd16OUG2DVm1qWNq6OdDPUWhH4YLLyMiC9$ "Confidentiality note: This e-mail may contain confidential information from Clarivate. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this e-mail is strictly prohibited. If you have received this e-mail in error, please delete this e-mail and notify the sender immediately.
|