我想将solrcloud升级到CentOS.IS中的最新版本,有一步一步来完成这个过程。而且我也不想放松我的索引。
答案 0 :(得分:0)
Lets answers your question by taking example. Assume that below is your Solr Cloud structure.
Now you will add a replica to both of the shards.
First you add two nodes to Zookeeper. But this both nodes will be of Solr 6.6.0.
bin/solr start -cloud -s /Users/XYZ/Downloads/solr-6.5.0/example/cloud/node6/solr -p 8957 -z localhost:9983
Add one replica to Both shards
localhost:8983/solr/admin/collections?action=ADDREPLICA&collection=collectionName&shard=shard1
localhost:8983/solr/admin/collections?action=ADDREPLICA&collection=collectionName&shard=shard2
After adding replicas your Solr Cloud Structure will look like :-
Remove node1, node2, node3 and node4. Your cloud structure will be in Solr 6.6.0.